File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 13
13
python-version : [ "3.9", "3.10", "3.11", "3.12" ]
14
14
os : [windows-latest, ubuntu-latest, macos-latest]
15
15
fail-fast : false
16
+ defaults :
17
+ run :
18
+ shell : bash -l {0}
16
19
17
20
steps :
18
21
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
@@ -25,11 +28,13 @@ jobs:
25
28
create-args : >-
26
29
python=${{ matrix.python-version }} pip python-build compilers --channel conda-forge
27
30
28
- - name : Install wheel and run tests
29
- shell : bash -l {0}
31
+ - name : Install wheel
30
32
run : >
31
- python -m pip install -e . --no-deps --force-reinstall
32
- && python -m build --wheel . --outdir dist
33
- && cp -r test/ dist/
34
- && cd dist && pip install pytest *.whl
33
+ python -m build --wheel . --outdir dist
34
+ && pip install pytest dist/*.whl
35
+
36
+ - name : Tests
37
+ run : >
38
+ cp -r test/ tmp
39
+ && cd tmp
35
40
&& python -m pytest -rxs test
You can’t perform that action at this time.
0 commit comments