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
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ jobs:
uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
with:
environments: ${{ matrix.environment }}
# 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: Run tests
run: pixi run -e ${{ matrix.environment }} tests

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: probabl-ai/skore-cli
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ ENV/
env.bak/
venv.bak/

# pixi
.pixi/

# direnv
.direnv
.envrc
Expand Down
24 changes: 24 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# similar to scikit-learn/skrub .codecov.yml
comment: false

coverage:
wait_for_ci: true

status:
project:
default:
# Commits pushed to the main branch should not make the overall
# project coverage decrease by more than 1%:
target: auto
threshold: 1%
patch:
default:
# Be tolerant on slight code coverage diff on PRs to limit
# noisy red coverage status on GitHub PRs.
# Note The coverage stats are still uploaded
# to codecov so that PR reviewers can see uncovered lines
# in the GitHub diff if they install the codecov browser
# extension:
# https://github.com/codecov/browser-extension
target: auto
threshold: 1%
Loading
Loading