Skip to content

Commit

Permalink
Merge pull request #180 from cvzi/patch-1
Browse files Browse the repository at this point in the history
Run pytest on every push
  • Loading branch information
TahirJalilov authored Jul 26, 2021
2 parents f93f9be + 339399a commit 8838566
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pythonTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test python package
on:
workflow_dispatch:
push:
branches-ignore:
- 'gh-pages'
pull_request:
branches-ignore:
- 'gh-pages'
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
max-parallel: 8
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10.0-alpha - 3.10.0"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e .[dev]
- name: Test with pytest
run: |
pytest
- name: Test install
run: |
python setup.py install

0 comments on commit 8838566

Please sign in to comment.