-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: test multiple py versions in gh actions * Delete pytest3.9.yaml * chore: remove unused caches * feat: allow all runs to finish * fix: python 3.9 * fix: default mode * fix: py 3.10
- Loading branch information
1 parent
a450ccd
commit aef3b92
Showing
6 changed files
with
52 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: PyTest | ||
|
||
on: | ||
push: | ||
branch: dev | ||
paths: | ||
- '**.py' | ||
- '**/pytest.yaml' | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ master, dev ] | ||
paths: | ||
- '**.py' | ||
- '**/pytest.yaml' | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-latest, macos-latest, windows-latest ] | ||
pyversion: [ "3.8", "3.9", "3.10", "3.11" ] | ||
|
||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python (faster than using Python container) | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.pyversion }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install pytest | ||
pip install -r requirements.txt | ||
pip install -r requirements-dev.txt | ||
- name: Run test suite | ||
run: pytest | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters