Skip to content

Commit 531338b

Browse files
Run pytest in the proper environment
Don't start a new shell!
1 parent bb36253 commit 531338b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ jobs:
7171
run: python -m pip list
7272

7373
- name: Run tests
74-
shell: "bash -l {0}"
75-
run: pytest -v
74+
run: python -m pytest -v
7675

7776
- uses: codecov/codecov-action@v5
7877
with:
@@ -126,7 +125,7 @@ jobs:
126125
run: python -m pip list
127126

128127
- name: Run checksum tests
129-
run: pytest -v tests/test_checksum32.py
128+
run: python -m pytest -v tests/test_checksum32.py
130129

131130
- uses: codecov/codecov-action@v5
132131
with:
@@ -175,7 +174,7 @@ jobs:
175174
run: python -m pip list
176175

177176
- name: Run Zarr integration tests
178-
run: pytest tests/test_zarr3.py tests/test_zarr3_import.py
177+
run: python -m pytest tests/test_zarr3.py tests/test_zarr3_import.py
179178

180179
- uses: codecov/codecov-action@v5
181180
with:

0 commit comments

Comments
 (0)