Files
PyGithub/.github/workflows/check.yml
T
Steve Kowalik 3551453eff Actually use the Python version in GA workflow (#1485)
It appears that the Python versions in our strategy matrix are not used
unless we drag them down into the steps. Do so now.
2020-04-26 14:56:08 +10:00

19 lines
440 B
YAML

name: check
on:
pull_request:
push:
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: "${{ matrix.python-version }}"
- run: pip install tox -r requirements.txt -r test-requirements.txt
- run: tox -elint
- run: pytest --cov=github