Skip to content

Commit 0e915e4

Browse files
committed
Test on defaults too
1 parent 1b36684 commit 0e915e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ concurrency:
1919

2020
jobs:
2121
tests:
22-
name: ${{ matrix.os }}, py${{ matrix.python-version }}
22+
name: ${{ matrix.os }}, py${{ matrix.python-version }}, ${{ matrix.channel }}
2323
runs-on: ${{ matrix.os }}
2424
strategy:
2525
fail-fast: false
2626
matrix:
2727
os: [ubuntu-latest, windows-latest]
28+
channel: [defaults, conda-forge]
2829
python-version: ["39", "310", "311", "312"]
2930
include:
3031
- os: macos-13
@@ -41,7 +42,7 @@ jobs:
4142
run: pixi reinstall --environment test-py${{ matrix.python-version }} conda-self
4243
- name: Setup project
4344
run: |
44-
echo "channels: [conda-forge]" > .pixi/envs/test-py${{ matrix.python-version }}/.condarc
45+
echo "channels: [${{ matrix.channel }}]" > .pixi/envs/test-py${{ matrix.python-version }}/.condarc
4546
pixi run --environment test-py${{ matrix.python-version }} conda info
4647
- name: Run tests
4748
run: pixi run --environment test-py${{ matrix.python-version }} test --basetemp=${{ runner.os == 'Windows' && 'D:\temp' || runner.temp }}

0 commit comments

Comments
 (0)