Skip to content

Commit 62bc4ec

Browse files
committed
more CI
1 parent 3200b3c commit 62bc4ec

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ env:
1818

1919
jobs:
2020
tests:
21-
name: Tests
21+
name: Tests ${{ matrix.environment }}
2222
runs-on: ${{ matrix.runs-on }}
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
runs-on: [ubuntu-latest]
26+
environment: [ci-py310, ci-py313]
27+
runs-on: [ubuntu-latest, osx-latest, windows-latest]
2728

2829
steps:
2930
- uses: actions/checkout@v4
@@ -34,7 +35,7 @@ jobs:
3435
with:
3536
pixi-version: v0.39.4
3637
cache: true
37-
environments: [dev]
38+
environments: ${{ matrix.environment }}
3839

3940
- name: Test package
40-
run: pixi run tests
41+
run: pixi run --environment=${{ matrix.environment }} tests

pyproject.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Homepage = "https://github.com/lucascolley/pint-array"
1919
version.path = "src/pint_array/__init__.py"
2020

2121
[tool.pixi.project]
22-
channels = ["conda-forge"]
23-
platforms = ["osx-arm64"]
22+
channels = ["https://prefix.dev/conda-forge"]
23+
platforms = ["linux-64", "osx-arm64", "win-64"]
2424

2525
[tool.pixi.dependencies]
2626
pint = ">=0.24.4,<0.25"
@@ -42,6 +42,14 @@ pytest = "*"
4242
[tool.pixi.feature.tests.tasks]
4343
tests = "pytest"
4444

45+
[tool.pixi.feature.py310.dependencies]
46+
python = "~=3.10.0"
47+
48+
[tool.pixi.feature.py313.dependencies]
49+
python = "~=3.13.0"
50+
4551
[tool.pixi.environments]
4652
default = { solve-group = "default" }
4753
dev = { features = ["dev", "tests"], solve-group = "default" }
54+
ci-py310 = ["py310", "tests"]
55+
ci-py313 = ["py313", "tests"]

0 commit comments

Comments
 (0)