Skip to content

Commit

Permalink
build: add the check tox environments to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 23, 2021
1 parent c4fe31f commit 504ca59
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,35 @@ jobs:
fi
echo $TEMP
python -m tox
checks:
name: "Quality checks"
runs-on: "ubuntu-latest"

steps:
- name: "Check out the repo"
uses: "actions/checkout@v2"

- name: "Set up Python"
uses: "actions/setup-python@v2"
with:
python-version: "3.8"

- name: "Install dependencies"
run: |
set -xe
python -VV
python -m site
python -m pip install -r requirements.txt
- name: "Run check"
run: |
python -m tox -e check
- name: "Run pkgcheck"
run: |
python -m tox -e pkgcheck
- name: "Run doc"
run: |
python -m tox -e doc

0 comments on commit 504ca59

Please sign in to comment.