11
11
default :
12
12
strategy :
13
13
matrix :
14
- os : [ubuntu-latest, macos-latest, windows-latest]
14
+ os : [ubuntu-latest, macos-latest, windows-latest, macos-14 ]
15
15
cache : [true, false]
16
16
runs-on : ${{ matrix.os }}
17
17
name : default ${{ matrix.cache == true && 'with' || 'without' }} cache (${{ matrix.os }})
@@ -61,12 +61,12 @@ jobs:
61
61
custom-pixi-version :
62
62
strategy :
63
63
matrix :
64
- os : [ubuntu-latest, macos-latest, windows-latest]
64
+ os : [ubuntu-latest, macos-latest, windows-latest, macos-14 ]
65
65
runs-on : ${{ matrix.os }}
66
66
steps :
67
67
- uses : actions/checkout@v4
68
68
- name : Move pixi.toml
69
- run : mv test/default /* .
69
+ run : mv test/old-pixi-lockfiles /* .
70
70
- uses : ./
71
71
with :
72
72
cache : false
75
75
locked : false
76
76
- run : pixi --version | grep -q "pixi 0.1.0"
77
77
78
+ old-lockfile :
79
+ strategy :
80
+ matrix :
81
+ os : [ubuntu-latest, macos-latest, windows-latest]
82
+ locked : [true, false]
83
+ runs-on : ${{ matrix.os }}
84
+ steps :
85
+ - uses : actions/checkout@v4
86
+ - name : Move pixi.toml
87
+ run : mv test/old-pixi-lockfiles/* .
88
+ - uses : ./
89
+ with :
90
+ pixi-version : latest
91
+ cache : false
92
+ locked : ${{ matrix.locked }}
93
+ - if : matrix.os == 'windows-latest'
94
+ run : choco install yq
95
+ # assert that the lockfile wasn't updated
96
+ - run : test "$(yq '.version' pixi.lock)" = 1
97
+
98
+ install-path :
99
+ strategy :
100
+ matrix :
101
+ os : [ubuntu-latest, macos-latest, windows-latest, macos-14]
102
+ runs-on : ${{ matrix.os }}
103
+ steps :
104
+ - uses : actions/checkout@v4
105
+ - uses : ./
106
+ with :
107
+ run-install : false
108
+ - run : test "$(which pixi)" = "$HOME/.pixi/bin/pixi"
109
+ shell : bash
110
+
111
+ global-install :
112
+ strategy :
113
+ matrix :
114
+ os : [ubuntu-latest, macos-latest, windows-latest, macos-14]
115
+ runs-on : ${{ matrix.os }}
116
+ steps :
117
+ - uses : actions/checkout@v4
118
+ - uses : ./
119
+ with :
120
+ run-install : false
121
+ - run : pixi global install cowpy
122
+ - run : |
123
+ pixi global list 2>&1 | grep cowpy
124
+ cowpy hello world
125
+ test "$(which cowpy)" = "$HOME/.pixi/bin/cowpy"
126
+ if: matrix.os != 'windows-latest'
127
+ - run : cowpy hello world
128
+ if : matrix.os == 'windows-latest'
129
+
78
130
frozen :
79
131
strategy :
80
132
matrix :
@@ -110,7 +162,7 @@ jobs:
110
162
steps :
111
163
- uses : actions/checkout@v4
112
164
- name : Move pixi.toml
113
- run : mv test/default /* .
165
+ run : mv test/old-pixi-lockfiles /* .
114
166
- uses : ./
115
167
with :
116
168
cache : false
@@ -393,7 +445,7 @@ jobs:
393
445
strategy :
394
446
fail-fast : false
395
447
matrix :
396
- os : [windows-latest, ubuntu-latest, macos-latest]
448
+ os : [windows-latest, ubuntu-latest, macos-latest, macos-14 ]
397
449
steps :
398
450
- uses : actions/checkout@v4
399
451
- name : Move pixi files
@@ -418,7 +470,7 @@ jobs:
418
470
strategy :
419
471
fail-fast : false
420
472
matrix :
421
- os : [windows-latest, ubuntu-latest, macos-latest]
473
+ os : [windows-latest, ubuntu-latest, macos-latest, macos-14 ]
422
474
steps :
423
475
- uses : actions/checkout@v4
424
476
- name : Move pixi files
@@ -442,7 +494,7 @@ jobs:
442
494
strategy :
443
495
fail-fast : false
444
496
matrix :
445
- os : [windows-latest, ubuntu-latest, macos-latest]
497
+ os : [windows-latest, ubuntu-latest, macos-latest, macos-14 ]
446
498
steps :
447
499
- uses : actions/checkout@v4
448
500
- name : Move pixi files
0 commit comments