Run pytest as workflow (only for PRs to release for now...)
This commit is contained in:
parent
4eadfd1566
commit
12a3558950
29
.github/workflows/pytest.yml
vendored
Normal file
29
.github/workflows/pytest.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Run pytest
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
# - master
|
||||
- release
|
||||
pull_request:
|
||||
branches:
|
||||
# - master
|
||||
- release
|
||||
|
||||
jobs:
|
||||
pytest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install package dependencies
|
||||
run: pip install .[testing]
|
||||
|
||||
- name: Run pytest
|
||||
run: pytest
|
Loading…
Reference in New Issue
Block a user