From e54869a15132a03524131375dbf69bb23c6191c3 Mon Sep 17 00:00:00 2001 From: Josh Thomas Date: Mon, 21 Apr 2025 10:15:41 -0500 Subject: [PATCH] add test workflow call to release workflow (#93) --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ed0855..a229919 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ on: push: branches: - main + - "release/*" tags: - "*" pull_request: @@ -17,7 +18,7 @@ on: workflow_dispatch: concurrency: - group: test-${{ github.head_ref }} + group: ${{ github.workflow }}-${{ github.head_ref }} cancel-in-progress: true permissions: @@ -158,10 +159,16 @@ jobs: name: wheels-sdist path: dist + test: + uses: ./.github/workflows/test.yml + if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} + with: + os: "macos-latest,ubuntu-latest,windows-latest" + release: runs-on: ubuntu-latest if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} - needs: [linux, musllinux, windows, macos, sdist] + needs: [linux, musllinux, windows, macos, sdist, test] environment: release permissions: # Use to sign the release artifacts