Increase major version to 1.0 #279
Workflow file for this run
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: Test | |
on: [push] | |
jobs: | |
tests: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
minor_version: [11] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: 3.${{ matrix.minor_version }} | |
- name: update pip | |
run: | | |
pip install -U wheel | |
pip install -U setuptools | |
python -m pip install -U pip | |
- run: pip install tox | |
- run: tox -e py3${{ matrix.minor_version }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: coverage.${{ matrix.os }}.py3${{ matrix.minor_version }} | |
path: ./.coverage.py3${{ matrix.minor_version }} | |
coverage: | |
needs: tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/download-artifact@v3 | |
with: | |
path: . | |
- run: pip install coverage | |
- run: | | |
rm -f .coverage | |
coverage combine coverage*/ | |
coverage report --fail-under=0 |