Skip to content

Commit 27462c5

Browse files
Use -c intel -c main for conda-packages.yml
Also adjusted conda list command in test_linux section to list content of test_dpctl environment
1 parent bdf126b commit 27462c5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/conda-package.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: conda install conda-build
4545
- name: Build conda package
4646
run: |
47-
CHANNELS="-c defaults -c intel --override-channels"
47+
CHANNELS="-c intel -c main --override-channels"
4848
VERSIONS="--python ${{ matrix.python }}"
4949
TEST="--no-test"
5050
conda build \
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install conda-build
9090
run: conda install conda-build
9191
- name: Build conda package
92-
run: conda build --no-test --python ${{ matrix.python }} -c defaults -c intel --override-channels conda-recipe
92+
run: conda build --no-test --python ${{ matrix.python }} -c intel -c main --override-channels conda-recipe
9393
- name: Upload artifact
9494
uses: actions/upload-artifact@v2
9595
with:
@@ -107,7 +107,7 @@ jobs:
107107
runner: [ubuntu-latest]
108108
continue-on-error: ${{ matrix.experimental }}
109109
env:
110-
CHANNELS: -c defaults -c intel --override-channels
110+
CHANNELS: -c intel -c main --override-channels
111111

112112
steps:
113113
- name: Download artifact
@@ -154,7 +154,7 @@ jobs:
154154
export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
155155
conda create -n test_dpctl $PACKAGE_NAME=${PACKAGE_VERSION} pytest python=${{ matrix.python }} $CHANNELS
156156
# Test installed packages
157-
conda list
157+
conda list -n test_dpctl
158158
- name: Smoke test
159159
run: |
160160
. $CONDA/etc/profile.d/conda.sh
@@ -183,7 +183,7 @@ jobs:
183183
runner: [windows-latest]
184184
continue-on-error: ${{ matrix.experimental }}
185185
env:
186-
CHANNELS: -c defaults -c intel --override-channels
186+
CHANNELS: -c intel -c main --override-channels
187187

188188
steps:
189189
- name: Download artifact
@@ -347,7 +347,7 @@ jobs:
347347
runner: [ubuntu-latest]
348348
continue-on-error: ${{ matrix.experimental }}
349349
env:
350-
CHANNELS: -c defaults -c intel --override-channels
350+
CHANNELS: -c intel -c main --override-channels
351351

352352
steps:
353353
- name: Install conda-build
@@ -405,7 +405,7 @@ jobs:
405405
shell: bash -l {0}
406406
run: |
407407
source $CONDA/etc/profile.d/conda.sh
408-
CHANNELS="-c $GITHUB_WORKSPACE/channel -c dppy/label/dev -c intel -c defaults --override-channels"
408+
CHANNELS="-c $GITHUB_WORKSPACE/channel -c dppy/label/dev -c intel -c main --override-channels"
409409
export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
410410
conda install -n examples -y ${CHANNELS} dpctl=${PACKAGE_VERSION} dpnp">=0.10.1" || exit 1
411411
- name: Build and run examples with native extensions
@@ -489,7 +489,7 @@ jobs:
489489
runner: [ubuntu-latest]
490490
continue-on-error: ${{ matrix.experimental }}
491491
env:
492-
CHANNELS: -c intel -c defaults --override-channels
492+
CHANNELS: -c intel -c main --override-channels
493493
steps:
494494
- name: Cache array API tests
495495
id: cache-array-api-tests

0 commit comments

Comments
 (0)