Skip to content

Commit

Permalink
WF FIXUP
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzEeKkAa committed Mar 15, 2024
1 parent d0f3468 commit 4b0158c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,14 @@ jobs:
run: python -c "import numba_dpex"

- name: Run tests
if: ${{ matrix.scope == 'tests' }}
env:
NUMBA_DPEX_USE_MLIR: ${{ matrix.use_mlir && '1' || '0' }}
run: |
pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv \
-k 'not test_1d_strided_dpnp_array_in_kernel[2]'
- name: Run backendless optimization tests
if: ${{ matrix.scope == 'tests' }}
env:
NUMBA_DPEX_USE_MLIR: ${{ matrix.use_mlir && '1' || '0' }}
Expand All @@ -228,7 +236,8 @@ jobs:
ONEAPI_DEVICE_SELECTOR: "opencl:cpu"
NUMBA_DPEX_BUILD_KERNEL_OPTIONS: "-cl-opt-disable"
run: |
pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv
pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv \
-k 'test_1d_strided_dpnp_array_in_kernel[2]'
- name: Run examples
if: ${{ matrix.scope == 'examples' }}
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@ jobs:
conda env export > /tmp/env-cov.yml
cat /tmp/env-cov.yml
# Ignoring test due to opencl driver optimization bug
- name: Run tests with coverage
# Disabling device driver optimization to prevent catching bugs
# from driver compiler.
ONEAPI_DEVICE_SELECTOR: "opencl:cpu"
NUMBA_DPEX_BUILD_KERNEL_OPTIONS: "-cl-opt-disable"
run: |
pytest -q --cov --cov-report term-missing --pyargs numba_dpex
pytest -q --cov --cov-report term-missing --pyargs numba_dpex \
-k 'not test_1d_strided_dpnp_array_in_kernel[2]'
- name: Install coveralls
shell: bash -l {0}
Expand Down

0 comments on commit 4b0158c

Please sign in to comment.