Skip to content

Commit 32751fa

Browse files
authored
ci: trigger tests before release (#424)
1 parent 5b1df64 commit 32751fa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ on:
1010
- v*.*.*
1111

1212
jobs:
13+
test:
14+
# Run test workflow before building and releasing
15+
uses: ./.github/workflows/test.yml
16+
1317
build:
1418
# Build the Python SDist and wheel, performs metadata and readme linting
1519
name: Build and verify package
20+
needs: [test]
1621
runs-on: ubuntu-latest
1722
steps:
1823
- uses: actions/checkout@v4

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
description: "Cache cutouts for all Python versions"
1919
default: "false"
2020
required: true
21+
workflow_call:
2122

2223
# Cancel any in-progress runs when a new run is triggered
2324
concurrency:

0 commit comments

Comments
 (0)