File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,14 @@ runs:
13
13
run : |
14
14
cd ${GITHUB_WORKSPACE}
15
15
${{ inputs.source-command }}
16
- pip -m build
16
+ pip install build
17
+ python -m build
17
18
# Check if we got exactly one wheel file
18
19
shopt -s nullglob
19
20
files=(dist/*.whl)
20
21
if [ ${#files[@]} -ne 1 ]; then
21
22
echo "Expected exactly one .whl file in dist/, found ${#files[@]}"
22
23
exit 1
23
24
fi
25
+ # Rename to fixed name so we can install the wheel
26
+ mv "${files[0]}" dist/meshpy_testing.whl
Original file line number Diff line number Diff line change @@ -30,14 +30,17 @@ jobs:
30
30
uses : actions/setup-python@v5
31
31
with :
32
32
python-version : ${{ matrix.python-version }}
33
+ - name : Build wheel
34
+ uses : ./.github/actions/build_wheel
35
+ if : matrix.python-version == '3.12'
33
36
- name : Run the test suite
34
37
uses : ./.github/actions/run_tests
35
38
with :
36
39
# Test coverage and editable install with Python 3.10, otherwise we use a
37
40
# non-editable installation and turn of coverage, because the coverage
38
41
# only works in editable mode.
39
42
install-command : >-
40
- ${{ matrix.python-version == '3.10' && '-e .[dev]' || '. [dev]'}}
43
+ ${{ matrix.python-version == '3.10' && '-e .[dev]' || '"dist/*.whl [dev]" '}}
41
44
# The single space in the empty string is required, otherwise GitHub
42
45
# evaluates the if clause wrong.
43
46
additional-pytest-flags : >-
You can’t perform that action at this time.
0 commit comments