possible alternate for readme layout #115
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: Tests | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-versions: [ "3.8", "3.9", "3.10", "3.11", ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-versions }} | |
- name: Install tox and coverage | |
run: pip install tox tox-gh-actions coverage | |
- name: Run Python tests | |
run: tox | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
flags: all-tests | |
name: coverage | |
fail_ci_if_error: true | |
- name: Install docs dependencies | |
run: pip install -r docs/requirements.txt | |
- name: Run Docs tests | |
run: make docs |