non 0 exit code on validation fail #121
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
name: Unit Tests, Build, Build Docs | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.7", "3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox and any other packages | |
run: pip install tox | |
- name: Run Unit Test via tox | |
# Run tox using the version of Python in `PATH` | |
run: tox -e py | |
- name: Run Lint via tox | |
run: tox -e lint | |
- name: Build wheel | |
# Run tox using the version of Python in `PATH` | |
run: tox -e build | |
- name: Build Docs | |
# Run tox using the version of Python in `PATH` | |
run: tox -e docs | |
- name: Install tool and test tagpack validation | |
run: | | |
pip install . | |
tagpack-tool tagpack validate tests/testfiles/ |