Skip to content

Commit 847f93d

Browse files
Merge pull request #1523 from IntelPython/fix-conformity-test-step-run-command
Change array-api-tests run command
2 parents 1015fcf + 979a30c commit 847f93d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -642,11 +642,10 @@ jobs:
642642
FILE=/home/runner/work/.report.json
643643
. $CONDA/etc/profile.d/conda.sh
644644
conda activate test_dpctl
645-
# echo "libintelocl.so" | tee /etc/OpenCL/vendors/intel-cpu.icd
646-
python -c "import dpctl; dpctl.lsplatform()"
647-
export ARRAY_API_TESTS_MODULE=dpctl.tensor
648645
cd /home/runner/work/array-api-tests
649-
pytest --json-report --json-report-file=$FILE --disable-deadline --skips-file ${GITHUB_WORKSPACE}/.github/workflows/array-api-skips.txt array_api_tests/ || true
646+
${CONDA_PREFIX}/bin/python -c "import dpctl; dpctl.lsplatform()"
647+
export ARRAY_API_TESTS_MODULE=dpctl.tensor
648+
${CONDA_PREFIX}/bin/python -m pytest --json-report --json-report-file=$FILE --disable-deadline --skips-file ${GITHUB_WORKSPACE}/.github/workflows/array-api-skips.txt array_api_tests/ || true
650649
- name: Set Github environment variables
651650
shell: bash -l {0}
652651
run: |
@@ -707,5 +706,5 @@ jobs:
707706
- name: Cleanup old packages
708707
run: |
709708
python scripts/cleanup-old-packages.py \
710-
--verbose --force --token ${{ secrets.ANACONDA_TOKEN }} \
711-
--package dppy/${{ env.PACKAGE_NAME }} --label dev
709+
--verbose --force --token ${{ secrets.ANACONDA_TOKEN }} \
710+
--package dppy/${{ env.PACKAGE_NAME }} --label dev

0 commit comments

Comments
 (0)