From e105f2a79fbb177c92bf7e54a3cf71ae08fe1491 Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Wed, 9 Oct 2024 15:37:12 +0200 Subject: [PATCH] Fix (?) the test workflow for GHA --- .github/workflows/build-test-gha-branches.yml | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-gha-branches.yml b/.github/workflows/build-test-gha-branches.yml index b9f922ad..bd5c069b 100644 --- a/.github/workflows/build-test-gha-branches.yml +++ b/.github/workflows/build-test-gha-branches.yml @@ -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: @@ -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: @@ -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: @@ -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 }}-*