Skip to content

Commit f6b5464

Browse files
committed
Use "pixi run" instead of "pixi shell"
1 parent ba012ba commit f6b5464

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,13 @@ jobs:
121121
run: |
122122
pixi add --pypi pytest-github-actions-annotate-failures
123123
124-
- name: Enter pixi shell
125-
run: |
126-
pixi shell -e ${{ matrix.pixi-env }}
127-
128124
- name: Version info
129125
run: |
130-
python xarray/util/print_versions.py
126+
pixi run python xarray/util/print_versions.py
131127
132128
- name: Import xarray
133129
run: |
134-
python -c "import xarray"
130+
pixi run python -c "import xarray"
135131
136132
- name: Restore cached hypothesis directory
137133
uses: actions/cache@v4
@@ -142,7 +138,7 @@ jobs:
142138
save-always: true
143139

144140
- name: Run tests
145-
run: python -m pytest -n ${{ matrix.numprocesses || 4 }}
141+
run: pixi run python -m pytest -n ${{ matrix.numprocesses || 4 }}
146142
--timeout 180
147143
--cov=xarray
148144
--cov-report=xml

0 commit comments

Comments
 (0)