-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8158401
commit 932b79c
Showing
6 changed files
with
40 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,27 +34,15 @@ jobs: | |
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- uses: mamba-org/setup-micromamba@v2 | ||
- uses: prefix-dev/setup-[email protected] | ||
with: | ||
environment-file: ci/environment.yml | ||
init-shell: >- | ||
bash | ||
cache-environment: true | ||
cache-downloads: true | ||
post-cleanup: 'all' | ||
create-args: >- | ||
python=${{ matrix.python }} | ||
${{ matrix.pip_opts }} | ||
- name: Install package | ||
run: | | ||
pip install -e '.[tests]' | ||
# micromamba remove numba | ||
# micromamba install -c numba numba | ||
pixi-version: v0.39.2 | ||
cache: true | ||
- name: Run tests | ||
run: | | ||
SPARSE_BACKEND=Numba pytest --pyargs sparse --doctest-modules --cov-report=xml:coverage_Numba.xml -n0 -vvv | ||
SPARSE_BACKEND=Finch pytest --pyargs sparse/tests --cov-report=xml:coverage_Finch.xml -n0 -vvv | ||
SPARSE_BACKEND=MLIR pytest --pyargs sparse/mlir_backend --cov-report=xml:coverage_MLIR.xml -n0 -vvv | ||
pixi run -e test test -- --cov-report=xml:coverage_Numba.xml -vvv | ||
pixi run -e finch-dev test-finch -- --cov-report=xml:coverage_Finch.xml | ||
pixi run -e mlir-dev test-mlir -- --cov-report=xml:coverage_MLIR.xml | ||
- uses: codecov/codecov-action@v5 | ||
if: always() | ||
with: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +0,0 @@ | ||
import sparse | ||
|
||
import pytest | ||
|
||
if sparse._BACKEND != sparse._BackendType.MLIR: | ||
pytest.skip("skipping MLIR tests", allow_module_level=True) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters