From f1401c1550d3fda4938376090d6bd5ea26e838ea Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 15 Apr 2020 10:48:18 +1000 Subject: [PATCH] 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 --- .github/workflows/check.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000000..c5e8d5f254 --- /dev/null +++ b/.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