Files
PyGithub/.github/workflows/check.yml
T
Steve KowalikandChristian Clauss f1401c1550 Add GitHub Action workflow for checks (#1464)
To integrate better with the GitHub workflow, add a workflow for
checking pushes and PRs. This doesn't remove the Travis configuration,
which is still required for releases.

Co-Authored-By: Christian Clauss <cclauss@me.com>
2020-04-15 10:48:18 +10:00

17 lines
369 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
- run: pip install tox -r requirements.txt -r test-requirements.txt
- run: tox -elint
- run: pytest --cov=github