Skip to content

Commit c2bab08

Browse files
committed
Specify pixi env explicitly
Fixes pytest call
1 parent b78f3d2 commit c2bab08

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ jobs:
126126
127127
- name: Version info
128128
run: |
129-
pixi run python xarray/util/print_versions.py
129+
pixi run -e ${{ matrix.pixi-env }} python xarray/util/print_versions.py
130130
131131
- name: Import xarray
132132
run: |
133-
pixi run python -c "import xarray"
133+
pixi run -e ${{ matrix.pixi-env }} python -c "import xarray"
134134
135135
- name: Restore cached hypothesis directory
136136
uses: actions/cache@v4
@@ -141,7 +141,8 @@ jobs:
141141
save-always: true
142142

143143
- name: Run tests
144-
run: pixi run python -m pytest -n ${{ matrix.numprocesses || 4 }}
144+
run:
145+
pixi run -e ${{ matrix.pixi-env }} python -m pytest -n ${{ matrix.numprocesses || 4 }}
145146
--timeout 180
146147
--cov=xarray
147148
--cov-report=xml

0 commit comments

Comments
 (0)