mirror of
https://github.com/novoid/appendfilename.git
synced 2026-06-14 04:11:19 +00:00
ci: split pytest runs (default, prepend, smart)
With pytest labels installed (default, prepend, smart) it will be easier to recognize which sub set contains a failing test. Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
This commit is contained in:
parent
39364a6aef
commit
07319a2726
1 changed files with 14 additions and 6 deletions
20
.github/workflows/pytest.yml
vendored
20
.github/workflows/pytest.yml
vendored
|
|
@ -19,7 +19,7 @@ on:
|
|||
jobs:
|
||||
test-ubuntu-2404:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 2
|
||||
timeout-minutes: 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -34,11 +34,13 @@ jobs:
|
|||
run: pip install -r requirements.txt
|
||||
|
||||
- name: run the check by pytest
|
||||
run: python -m pytest
|
||||
run: python -m pytest -m "default"; \
|
||||
python -m pytest -m "prepend"; \
|
||||
python -m pytest -m "smart"
|
||||
|
||||
test-windows-2022:
|
||||
runs-on: windows-2022
|
||||
timeout-minutes: 2
|
||||
timeout-minutes: 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -53,11 +55,14 @@ jobs:
|
|||
run: pip install -r requirements.txt
|
||||
|
||||
- name: run the check by pytest
|
||||
run: python -m pytest
|
||||
run: python -m pytest -m "default"; \
|
||||
python -m pytest -m "prepend"; \
|
||||
python -m pytest -m "smart"
|
||||
|
||||
|
||||
test-macos-14:
|
||||
runs-on: macos-14
|
||||
timeout-minutes: 2
|
||||
timeout-minutes: 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -72,4 +77,7 @@ jobs:
|
|||
run: pip install -r requirements.txt
|
||||
|
||||
- name: run the check by pytest
|
||||
run: python -m pytest
|
||||
run: python -m pytest -m "default"; \
|
||||
python -m pytest -m "prepend"; \
|
||||
python -m pytest -m "smart"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue