Skip to content

Commit

Permalink
Fix (?) the test workflow for GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Oct 9, 2024
1 parent 8d8cbec commit e105f2a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build-test-gha-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ jobs:
- name: Check the wheel
run: twine check dist/*.whl

- name: Upload the wheel to GitHub Actions artifacts
uses: actions/upload-artifact@v4
with:
name: wheel-dist-${{ matrix.python_version }}-linux
path: dist

build-for-windows:
runs-on: windows-2019
strategy:
Expand Down Expand Up @@ -131,6 +137,12 @@ jobs:
- name: Check the wheel
run: twine check (get-item dist\*.whl)

- name: Upload the wheel to GitHub Actions artifacts
uses: actions/upload-artifact@v4
with:
name: wheel-dist-${{ matrix.python_version }}-windows
path: dist

build-for-macos:
runs-on: macos-12
strategy:
Expand Down Expand Up @@ -182,6 +194,12 @@ jobs:
- name: Check the wheel
run: twine check dist/*.whl

- name: Upload the wheel to GitHub Actions artifacts
uses: actions/upload-artifact@v4
with:
name: wheel-dist-${{ matrix.python_version }}-macos
path: dist

check:
runs-on: ${{ matrix.os }}
needs:
Expand All @@ -208,7 +226,7 @@ jobs:
python-version: ${{ matrix.python_version }}
# DO NOT install any other dependencies, to test that the wheels are self-contained

- name: Dowload the wheels from GitHub Actions artifacts
- name: Download the wheels from GitHub Actions artifacts
uses: actions/download-artifact@v4
with:
pattern: wheel-dist-${{ matrix.python_version }}-*
Expand Down

0 comments on commit e105f2a

Please sign in to comment.