Skip to content

Commit

Permalink
Add GitHub Action workflow for checks (#1464)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
s-t-e-v-e-n-k and cclauss committed Apr 15, 2020
1 parent b4ca917 commit f1401c1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check.yml
@@ -0,0 +1,16 @@
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

0 comments on commit f1401c1

Please sign in to comment.