Skip to content

Commit 17913a1

Browse files
CI: Test wheels after uploading artifacts
1 parent d628963 commit 17913a1

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build-wheels-mac.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ jobs:
7171
- name: Build runtime wheel
7272
run: python -m pip wheel ./Slicer/SlicerCore --wheel-dir ./wheelhouse --no-build-isolation
7373

74-
- name: Test runtime wheel
75-
run: python -m pytest ./Slicer/SlicerCore --local-wheels=./wheelhouse -m runtime --verbose
76-
7774
- name: sccache stats (after Runtime build)
7875
if: ${{ inputs.use-cache }}
7976
run: |
@@ -86,6 +83,9 @@ jobs:
8683
name: slicer_core-${{ runner.os }}_${{ inputs.python-version }}_${{ runner.arch }}
8784
path: wheelhouse/slicer_core-*.whl
8885

86+
- name: Test runtime wheel
87+
run: python -m pytest ./Slicer/SlicerCore --local-wheels=./wheelhouse -m runtime --verbose
88+
8989
- name: Build SDK wheel
9090
run: python -m pip wheel ./Slicer/SlicerCoreSDK --wheel-dir ./wheelhouse --no-build-isolation
9191

.github/workflows/build-wheels-windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ jobs:
7878
- name: Build runtime wheel
7979
run: python -m pip wheel ./Slicer/SlicerCore --wheel-dir ./wheelhouse --no-build-isolation
8080

81-
- name: Test runtime wheel
82-
run: python -m pytest ./Slicer/SlicerCore --local-wheels=./wheelhouse -m runtime --verbose
83-
8481
- name: sccache stats (after Runtime build)
8582
if: ${{ inputs.use-cache }}
8683
run: |
@@ -93,6 +90,9 @@ jobs:
9390
name: slicer_core-${{ runner.os }}_${{ inputs.python-version }}_${{ runner.arch }}
9491
path: wheelhouse/slicer_core-*.whl
9592

93+
- name: Test runtime wheel
94+
run: python -m pytest ./Slicer/SlicerCore --local-wheels=./wheelhouse -m runtime --verbose
95+
9696
- name: Build SDK wheel
9797
run: python -m pip wheel ./Slicer/SlicerCoreSDK --wheel-dir ./wheelhouse --no-build-isolation
9898

0 commit comments

Comments
 (0)