Skip to content

StructurePrintMixin: Print inherited fields #75

StructurePrintMixin: Print inherited fields

StructurePrintMixin: Print inherited fields #75

Workflow file for this run

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 }}