@@ -15,32 +15,29 @@ jobs:
1515 strategy :
1616 matrix :
1717 os : [windows-latest, ubuntu-latest, macos-latest]
18- environment : [
19- ci-py309-min-deps,
20- ci-py309-min-optional-deps,
21- ci-py311-transformers,
22- ci-py313-latest-deps,
23- ci-py313-latest-optional-deps
24- ]
18+ environment :
19+ - ci-py309-min-deps
20+ - ci-py309-min-optional-deps
21+ - ci-py311-transformers
22+ - ci-py313-latest-deps
23+ - ci-py313-latest-optional-deps
24+ - ci-py313-polars-without-pyarrow
2525 runs-on : ${{ matrix.os }}
2626 steps :
27- - uses : actions/checkout@v4
28- - uses : prefix-dev/setup-pixi@v0.8.8
27+ - uses : actions/checkout@v5
28+ - uses : prefix-dev/setup-pixi@v0.9.2
2929 with :
3030 pixi-version : v0.41.3
3131 environments : ${{ matrix.environment }}
3232 # we can freeze the environment and manually bump the dependencies to the
3333 # latest version time to time.
3434 frozen : true
35-
3635 - name : Run tests
3736 run : pixi run -e ${{ matrix.environment }} test -n auto
38-
3937 - name : Run user guide doctests
4038 run : pixi run -e ${{ matrix.environment }} test-user-guide
41-
4239 - name : Upload coverage reports to Codecov
43- uses : codecov/codecov-action@v5.4.3
40+ uses : codecov/codecov-action@v5.5.1
4441 with :
4542 token : ${{ secrets.CODECOV_TOKEN }}
4643 slug : skrub-data/skrub
@@ -50,32 +47,25 @@ jobs:
5047 outputs :
5148 run : ${{ github.event_name == 'schedule' || contains(steps.get_head_commit_message.outputs.COMMIT_MSG, '[deps nightly]') }}
5249 steps :
53- - uses : actions/checkout@v4
50+ - uses : actions/checkout@v5
5451 with :
5552 ref : ${{ github.event.pull_request.head.sha }}
5653 - id : get_head_commit_message
57- name : get head commit message
54+ name : Get head commit message
5855 run : echo "COMMIT_MSG=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"
5956
6057 test_against_nightly :
6158 needs : check_run_nightly
6259 if : ${{ needs.check_run_nightly.outputs.run == 'true' }}
6360 runs-on : ubuntu-latest
64- name : test against nighlty dependencies
61+ name : Test against nightly dependencies
6562 steps :
66- - uses : actions/checkout@v4
67- - uses : actions /setup-python@v5
63+ - uses : actions/checkout@v5
64+ - uses : prefix-dev /setup-pixi@v0.9.2
6865 with :
69- python-version : " 3.11"
70- name : ' Setup python'
71- - shell : bash {0}
72- run : |
73- dev_anaconda_url=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
74- pip install --pre --upgrade --timeout=60 --extra-index $dev_anaconda_url .
75- dev_arrow=https://pypi.fury.io/arrow-nightlies/
76- pip install --extra-index-url $dev_arrow --prefer-binary --pre .[optional]
77- pip install .[test]
78- name : ' Install skrub and nightly dependencies'
79- - shell : bash {0}
80- run : pytest -vsl --cov=skrub --cov-report=xml skrub -n 3
81- name : ' Run tests'
66+ pixi-version : v0.41.3
67+ # we can freeze the environment and manually bump the dependencies to the
68+ # latest version time to time.
69+ frozen : true
70+ - name : Run tests
71+ run : pixi run --environment ci-nightly-deps pytest -vsl --cov=skrub --cov-report=xml skrub -n 3
0 commit comments