mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
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>
This commit is contained in:
co-authored by
Christian Clauss
parent
b4ca917726
commit
f1401c1550
@@ -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
|
||||
Reference in New Issue
Block a user