Skip to content

Commit ac83fab

Browse files
committed
test python version in CD
1 parent 4209939 commit ac83fab

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
cd:
1818
name: Continuous Deployment
1919
runs-on: ubuntu-latest
20+
strategy:
21+
matrix:
22+
python-version: ['3.10', '3.11', '3.12', '3.13']
2023

2124
steps:
2225
- name: Checkout
@@ -28,7 +31,7 @@ jobs:
2831
- name: Install uv and set the python version
2932
uses: astral-sh/setup-uv@v5
3033
with:
31-
python-version: '3.10'
34+
python-version: ${{ matrix.python-version }}
3235
enable-cache: true
3336
cache-dependency-glob: "pyproject.toml"
3437

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests
1+
name: Continuous Integration
22

33
on: [pull_request, workflow_dispatch]
44

@@ -12,15 +12,15 @@ concurrency:
1212

1313
jobs:
1414
ci:
15-
name: CI
15+
name: Continuous Integration
1616
runs-on: ubuntu-latest
1717
if: |
1818
github.event_name == 'push' ||
1919
(github.event_name == 'pull_request' && github.event.pull_request.draft == false)
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: ['3.10', '3.11', '3.12', '3.13']
23+
python-version: ['3.10']
2424

2525
steps:
2626
- name: Checkout
@@ -57,7 +57,7 @@ jobs:
5757
restore-keys: |
5858
testmon-${{ runner.os }}-${{ matrix.python-version }}-
5959
60-
- name: Run the fast CPU tests with coverage
60+
- name: Run fast CPU tests with coverage
6161
run: uv run pytest --testmon-forceselect -v -n auto -m "not slow and not gpu" --cov=sbi --cov-report=xml tests/
6262

6363
- name: Upload coverage to Codecov

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
extra_args: --all-files --show-diff-on-failure
2929

3030
pyright:
31-
name: Check types
31+
name: type checking.
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout

0 commit comments

Comments
 (0)