Skip to content

Commit 99221f5

Browse files
committed
Run tests before releasing
1 parent 4af745c commit 99221f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ on:
66
concurrency:
77
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
88
cancel-in-progress: true
9+
910
jobs:
11+
tests:
12+
uses: ./.github/workflows/tests.yml
13+
secrets: inherit
14+
1015
deploy:
16+
needs: tests
1117
runs-on: ubuntu-latest
1218
container:
1319
image: python:3.12-slim
@@ -25,6 +31,7 @@ jobs:
2531
run: "poetry build"
2632
- name: Publish
2733
run: "poetry config pypi-token.pypi ${{ secrets.PUBLIC_YEPCODE_PYPI_API_TOKEN }} && poetry publish"
34+
2835
create_release:
2936
needs: deploy
3037
name: Create Release

0 commit comments

Comments
 (0)