Skip to content

Commit

Permalink
Fix windows github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Diptorup Deb committed Feb 15, 2023
1 parent b554084 commit 25ebd55
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ jobs:
conda-build-version: '*'
miniconda-version: 'latest'
activate-environment: "numba_dpex_wintest"
python-version: ${{ matrix.python }}
- name: Create conda channel
run: |
mkdir -p $env:GITHUB_WORKSPACE/channel/win-64
Expand All @@ -195,9 +196,9 @@ jobs:
- name: Collect dependencies
run: conda install ${{ env.PACKAGE_NAME }} python=${{ matrix.python }} -c $env:GITHUB_WORKSPACE/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
- name: Cache conda packages
uses: actions/cache@v2
uses: actions/cache@v3
env:
CACHE_NUMBER: 1 # Increase to reset cache
CACHE_NUMBER: 2 # Increase to reset cache
with:
path: /home/runner/conda_pkgs_dir
key:
Expand Down Expand Up @@ -251,8 +252,9 @@ jobs:
- name: Add dpnp skip variable
run: echo "NUMBA_DPEX_TESTING_SKIP_NO_DPNP=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Run tests
run: |
python -m pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv
shell: cmd /C CALL {0}
run: >-
conda activate numba_dpex_wintest && python -m pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv
upload_linux:
needs: test_linux
Expand Down

0 comments on commit 25ebd55

Please sign in to comment.