66
66
working-directory : __tests__/fixtures/uv-project
67
67
68
68
test-semver-range :
69
- runs-on : ubuntu-latest
69
+ strategy :
70
+ matrix :
71
+ os : [ ubuntu-latest, selfhosted-ubuntu-arm64 ]
72
+ runs-on : ${{ matrix.os }}
70
73
steps :
71
74
- uses : actions/checkout@v4
72
75
- name : Install version 0.3
75
78
with :
76
79
version : " 0.3"
77
80
- name : Correct version gets installed
81
+ run : |
82
+ if [ "$(uv --version)" != "uv 0.3.5" ]; then
83
+ echo "Wrong uv version: $(uv --version)"
84
+ exit 1
85
+ fi
86
+ - name : Output has correct version
78
87
run : |
79
88
if [ "$UV_VERSION" != "0.3.5" ]; then
80
89
exit 1
@@ -93,11 +102,10 @@ jobs:
93
102
version : " >=0.4.25,<0.5"
94
103
- name : Correct version gets installed
95
104
run : |
96
- if [ "$UV_VERSION" != "0.4.30" ]; then
105
+ if [ "$(uv --version)" != "uv 0.4.30" ]; then
106
+ echo "Wrong uv version: $(uv --version)"
97
107
exit 1
98
108
fi
99
- env :
100
- UV_VERSION : ${{ steps.setup-uv.outputs.uv-version }}
101
109
102
110
test-pyproject-file-version :
103
111
runs-on : ubuntu-latest
@@ -110,11 +118,10 @@ jobs:
110
118
pyproject-file : " __tests__/fixtures/pyproject-toml-project/pyproject.toml"
111
119
- name : Correct version gets installed
112
120
run : |
113
- if [ "$UV_VERSION" != "0.5.14" ]; then
121
+ if [ "$(uv --version)" != "uv 0.5.14" ]; then
122
+ echo "Wrong uv version: $(uv --version)"
114
123
exit 1
115
124
fi
116
- env :
117
- UV_VERSION : ${{ steps.setup-uv.outputs.uv-version }}
118
125
119
126
test-malformed-pyproject-file-fallback :
120
127
runs-on : ubuntu-latest
@@ -140,11 +147,10 @@ jobs:
140
147
uv-file : " __tests__/fixtures/uv-toml-project/uv.toml"
141
148
- name : Correct version gets installed
142
149
run : |
143
- if [ "$UV_VERSION" != "0.5.15" ]; then
150
+ if [ "$(uv --version)" != "uv 0.5.15" ]; then
151
+ echo "Wrong uv version: $(uv --version)"
144
152
exit 1
145
153
fi
146
- env :
147
- UV_VERSION : ${{ steps.setup-uv.outputs.uv-version }}
148
154
149
155
test-checksum :
150
156
runs-on : ${{ matrix.inputs.os }}
0 commit comments