File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 18
18
19
19
jobs :
20
20
tests :
21
- name : Tests
21
+ name : Tests ${{ matrix.environment }}
22
22
runs-on : ${{ matrix.runs-on }}
23
23
strategy :
24
24
fail-fast : false
25
25
matrix :
26
- runs-on : [ubuntu-latest]
26
+ environment : [ci-py310, ci-py313]
27
+ runs-on : [ubuntu-latest, osx-latest, windows-latest]
27
28
28
29
steps :
29
30
- uses : actions/checkout@v4
34
35
with :
35
36
pixi-version : v0.39.4
36
37
cache : true
37
- environments : [dev]
38
+ environments : ${{ matrix.environment }}
38
39
39
40
- name : Test package
40
- run : pixi run tests
41
+ run : pixi run --environment=${{ matrix.environment }} tests
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ Homepage = "https://github.com/lucascolley/pint-array"
19
19
version.path = " src/pint_array/__init__.py"
20
20
21
21
[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 " ]
24
24
25
25
[tool .pixi .dependencies ]
26
26
pint = " >=0.24.4,<0.25"
@@ -42,6 +42,14 @@ pytest = "*"
42
42
[tool .pixi .feature .tests .tasks ]
43
43
tests = " pytest"
44
44
45
+ [tool .pixi .feature .py310 .dependencies ]
46
+ python = " ~=3.10.0"
47
+
48
+ [tool .pixi .feature .py313 .dependencies ]
49
+ python = " ~=3.13.0"
50
+
45
51
[tool .pixi .environments ]
46
52
default = { solve-group = " default" }
47
53
dev = { features = [" dev" , " tests" ], solve-group = " default" }
54
+ ci-py310 = [" py310" , " tests" ]
55
+ ci-py313 = [" py313" , " tests" ]
You can’t perform that action at this time.
0 commit comments