Skip to content

Commit aeb8935

Browse files
Configure pytest to run tests based on OS
Add conditional test execution for Windows and non-Windows environments.
1 parent 2343050 commit aeb8935

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,9 @@ jobs:
4848
run: python -m pip list
4949

5050
- name: Run tests
51+
if: runner.os != 'Windows'
5152
run: python -m pytest -n logical
53+
54+
- name: Run tests on Windows
55+
if: runner.os == 'Windows'
56+
run: python -m pytest -n 0

0 commit comments

Comments
 (0)