Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Oct 5, 2024
1 parent fcd10ca commit cfe9507
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
frozen: true

- name: Run tests
run: pixi run -e ${{ matrix.environment }} test -n auto
run: pixi run -e ${{ matrix.environment }} tests -n auto

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ pytest-xdist = ">=3.5.0,<4"
[tool.pixi.pypi-dependencies]
imbalanced-learn = { path = ".", editable = true }

[tool.pixi.feature.docs.tasks]
build-docs = { cmd = "make html", cwd = "doc" }
clean-docs = { cmd = "rm -rf _build/ && rm -rf auto_examples/ && rm -rf reference/generated/", cwd = "doc" }

[tool.pixi.feature.linters.tasks]
linters = { cmd = "pre-commit install && pre-commit run -v --all-files --show-diff-on-failure" }

[tool.pixi.feature.tests.tasks]
tests = { cmd = "pytest -vsl --cov=imblearn --cov-report=xml imblearn" }

[tool.pixi.environments]
linters = ["linters"]
docs = ["optional", "docs", "tensorflow"]
Expand Down

0 comments on commit cfe9507

Please sign in to comment.