|
37 | 37 | python-version: ${{ matrix.python-version }} |
38 | 38 | allow-prereleases: true |
39 | 39 |
|
| 40 | + - name: Setup uv |
| 41 | + uses: yezz123/setup-uv@v4 |
| 42 | + with: |
| 43 | + uv-venv: ".venv" |
| 44 | + |
40 | 45 | - name: Install nox |
41 | | - run: pip install nox |
| 46 | + run: uv pip install nox |
42 | 47 |
|
43 | 48 | - name: Test setuptools |
44 | 49 | run: nox -s 'tests(setuptools, novcs)' -s 'tests(setuptools, vcs)' |
@@ -97,64 +102,77 @@ jobs: |
97 | 102 | steps: |
98 | 103 | - uses: actions/checkout@v4 |
99 | 104 |
|
| 105 | + - uses: actions/setup-python@v5 |
| 106 | + with: |
| 107 | + python-version: ${{ matrix.python-version }} |
| 108 | + allow-prereleases: true |
| 109 | + |
| 110 | + - name: Setup uv |
| 111 | + uses: yezz123/setup-uv@v4 |
| 112 | + with: |
| 113 | + uv-venv: ".venv" |
| 114 | + |
| 115 | + - name: Install nox |
| 116 | + run: uv pip install nox |
| 117 | + |
100 | 118 | - name: Test setuptools |
101 | 119 | run: | |
102 | | - pipx run nox -s 'nox(setuptools, vcs)' |
103 | | - pipx run nox -s 'nox(setuptools, vcs)' -- docs |
| 120 | + nox -s 'nox(setuptools, vcs)' |
| 121 | + nox -s 'nox(setuptools, vcs)' -- docs |
104 | 122 |
|
105 | 123 | - name: Test pybind11 |
106 | 124 | run: | |
107 | | - pipx run nox -s 'nox(pybind11, vcs)' |
108 | | - pipx run nox -s 'nox(pybind11, vcs)' -- docs |
| 125 | + nox -s 'nox(pybind11, vcs)' |
| 126 | + nox -s 'nox(pybind11, vcs)' -- docs |
109 | 127 |
|
110 | 128 | - name: Test scikit-build |
111 | 129 | run: | |
112 | | - pipx run nox -s 'nox(skbuild, vcs)' |
113 | | - pipx run nox -s 'nox(skbuild, vcs)' -- docs |
| 130 | + nox -s 'nox(skbuild, vcs)' |
| 131 | + nox -s 'nox(skbuild, vcs)' -- docs |
114 | 132 |
|
115 | 133 | - name: Test poetry |
116 | 134 | run: | |
117 | | - pipx run nox -s 'nox(poetry, novcs)' |
118 | | - pipx run nox -s 'nox(poetry, novcs)' -- docs |
| 135 | + nox -s 'nox(poetry, novcs)' |
| 136 | + nox -s 'nox(poetry, novcs)' -- docs |
119 | 137 |
|
120 | 138 | - name: Test flit |
121 | 139 | run: | |
122 | | - pipx run nox -s 'nox(flit, novcs)' |
123 | | - pipx run nox -s 'nox(flit, novcs)' -- docs |
| 140 | + nox -s 'nox(flit, novcs)' |
| 141 | + nox -s 'nox(flit, novcs)' -- docs |
124 | 142 |
|
125 | 143 | - name: Test pdm |
126 | 144 | run: | |
127 | | - pipx run nox -s 'nox(pdm, vcs)' |
128 | | - pipx run nox -s 'nox(pdm, vcs)' -- docs |
| 145 | + nox -s 'nox(pdm, vcs)' |
| 146 | + nox -s 'nox(pdm, vcs)' -- docs |
129 | 147 |
|
130 | 148 | - name: Test whey |
131 | 149 | run: | |
132 | | - pipx run nox -s 'nox(whey, novcs)' |
133 | | - pipx run nox -s 'nox(whey, novcs)' -- docs |
| 150 | + nox -s 'nox(whey, novcs)' |
| 151 | + nox -s 'nox(whey, novcs)' -- docs |
134 | 152 |
|
135 | 153 | - name: Test maturin |
136 | 154 | run: | |
137 | | - pipx run nox -s 'nox(maturin, novcs)' |
138 | | - pipx run nox -s 'nox(maturin, novcs)' -- docs |
| 155 | + nox -s 'nox(maturin, novcs)' |
| 156 | + nox -s 'nox(maturin, novcs)' -- docs |
139 | 157 |
|
140 | 158 | - name: Test hatch |
141 | 159 | run: | |
142 | | - pipx run nox -s 'nox(hatch, vcs)' |
143 | | - pipx run nox -s 'nox(hatch, vcs)' -- docs |
| 160 | + nox -s 'nox(hatch, vcs)' |
| 161 | + nox -s 'nox(hatch, vcs)' -- docs |
144 | 162 |
|
145 | 163 | - name: Test setuptools PEP 621 |
146 | 164 | run: | |
147 | | - pipx run nox -s 'nox(setuptools621, vcs)' |
148 | | - pipx run nox -s 'nox(setuptools621, vcs)' -- docs |
| 165 | + nox -s 'nox(setuptools621, vcs)' |
| 166 | + nox -s 'nox(setuptools621, vcs)' -- docs |
149 | 167 |
|
150 | 168 | - name: Activate MSVC for Meson |
151 | 169 | if: runner.os == 'Windows' |
152 | 170 | uses: ilammy/msvc-dev-cmd@v1 |
153 | 171 |
|
154 | 172 | - name: Test meson-python |
155 | 173 | run: | |
156 | | - pipx run nox -s 'nox(mesonpy, novcs)' |
157 | | - pipx run nox -s 'nox(mesonpy, novcs)' -- docs |
| 174 | + nox -s 'nox(mesonpy, novcs)' |
| 175 | + nox -s 'nox(mesonpy, novcs)' -- docs |
158 | 176 |
|
159 | 177 | dist: |
160 | 178 | name: Distribution build |
|
0 commit comments