File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ workflow_dispatch :
4+ pull_request :
5+
6+ # Cancel any ongoing run of this workflow on the same PR or ref
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+ cancel-in-progress : true
10+
11+ jobs :
12+ pre-commit :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Install uv
17+ uses : astral-sh/setup-uv@v6
18+ - name : Run pre-commit
19+ run : uv run pre-commit
20+ tests :
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ python-version : ['3.11', '3.12', '3.13']
25+ os : ['ubuntu-latest', 'windows-latest', 'macos-13', 'macos-latest']
26+ runs-on : ${{ matrix.os }}
27+ steps :
28+ - uses : actions/checkout@v4
29+ - name : Install uv
30+ uses : astral-sh/setup-uv@v6
31+ with :
32+ python-version : ${{ matrix.python-version }}
33+ - name : Set up Python
34+ run : uv python install
35+ - name : Install Miniforge
36+ uses : conda-incubator/setup-miniconda@v3
37+ with :
38+ auto-update-conda : true
39+ miniforge-version : latest
40+ - name : Install khiops
41+ run : conda install --quiet --yes --name test khiops-core=11.0.0b.0
42+ - name : Run tests
43+ run : conda run --name test uv run pytest src/tests
You can’t perform that action at this time.
0 commit comments