Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Setup Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
- name: Set up pixi
uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
with:
python-version: "3.12"
cache: pip

- name: Install dependencies
run: python -m pip install --upgrade pip pre-commit
environments: lint
# Install strictly from the committed pixi.lock so CI runs against the
# locked dependencies. The lock file is refreshed by the weekly
# update_pixi_lock_files workflow.
frozen: true

- name: Lint
run: pre-commit run --all-files
run: pixi run -e lint lint
6 changes: 4 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# similar to scikit-learn/skrub .codecov.yml
comment: false

coverage:
wait_for_ci: true
codecov:
notify:
wait_for_ci: true

coverage:
status:
project:
default:
Expand Down
8,334 changes: 8,328 additions & 6 deletions pixi.lock

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ skore-cli = { path = ".", editable = true }
[tool.pixi.feature.test.tasks]
tests = "pytest tests --cov=skore_cli --cov-report=xml"

[tool.pixi.feature.lint.dependencies]
pre-commit = "*"

[tool.pixi.feature.lint.tasks]
lint = "pre-commit run --all-files"

[tool.pixi.feature.py311.dependencies]
python = "3.11.*"

Expand All @@ -95,6 +101,7 @@ test-py311 = ["test", "py311"]
test-py312 = ["test", "py312"]
test-py313 = ["test", "py313"]
test-py314 = ["test", "py314"]
lint = ["lint"]

[tool.pytest.ini_options]
addopts = [
Expand Down
Loading
Loading