Skip to content

Commit ba63a9f

Browse files
committed
fix release workflow
1 parent 5e5ef37 commit ba63a9f

1 file changed

Lines changed: 37 additions & 3 deletions

File tree

.github/workflows/release-prod.yaml

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,34 @@ jobs:
2525
unit-tests:
2626
uses: './.github/workflows/testing-unit.yaml'
2727
secrets: inherit
28+
with:
29+
python_versions_json: '["3.9"]'
30+
31+
create-project:
32+
uses: './.github/workflows/project-setup.yaml'
33+
secrets: inherit
34+
needs:
35+
- unit-tests
36+
2837
integration-tests:
29-
uses: './.github/workflows/testing-integration.yaml'
30-
secrets: inherit
38+
uses: './.github/workflows/testing-integration.yaml'
39+
secrets: inherit
40+
needs:
41+
- unit-tests
42+
- create-project
43+
with:
44+
encrypted_project_api_key: ${{ needs.create-project.outputs.encrypted_project_api_key }}
45+
python_versions_json: '["3.9", "3.13"]'
46+
3147
dependency-tests:
3248
uses: './.github/workflows/testing-dependency.yaml'
3349
secrets: inherit
34-
needs: unit-tests
50+
needs:
51+
- unit-tests
52+
- create-project
53+
with:
54+
encrypted_project_api_key: ${{ needs.create-project.outputs.encrypted_project_api_key }}
55+
3556
install-tests:
3657
uses: './.github/workflows/testing-install.yaml'
3758
secrets: inherit
@@ -58,3 +79,16 @@ jobs:
5879
secrets: inherit
5980
needs:
6081
- pypi
82+
83+
cleanup-project:
84+
if: ${{ always() }}
85+
needs:
86+
- create-project
87+
- integration-tests
88+
- pypi
89+
- docs-publish
90+
uses: './.github/workflows/project-cleanup.yaml'
91+
secrets: inherit
92+
with:
93+
project_id: ${{ needs.create-project.outputs.project_id }}
94+
encrypted_project_api_key: ${{ needs.create-project.outputs.encrypted_project_api_key }}

0 commit comments

Comments
 (0)