StructurePrintMixin: Print inherited fields #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: main | |
jobs: | |
BuildTestPublish: | |
name: "Build, Test, and Publish" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Clone tree | |
uses: actions/[email protected] | |
- name: Install dependencies | |
run: python3 -m pip install -U pip pylint | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
- name: Install | |
run: python3 -m pip install --user .[docs] | |
- name: Test | |
run: pushd tests; python3 -m unittest discover -v | |
- name: Build docs | |
run: make -C docs html | |
- name: Build sdist | |
run: python setup.py sdist | |
- name: Publish package | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_TOKEN }} |