Skip to content

Commit 82653a5

Browse files
Add job dependencies
1 parent 7901de8 commit 82653a5

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/cicd.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
## (public endpoints)
106106
##
107107
Test-Spot-Public:
108-
needs: [Pre-Commit]
108+
needs: [Build]
109109
uses: ./.github/workflows/_test_spot_public.yaml
110110
strategy:
111111
fail-fast: false
@@ -119,7 +119,7 @@ jobs:
119119
## (private endpoints)
120120
Test-Spot-Private:
121121
if: success() && github.actor == 'btschwertfeger'
122-
needs: [Pre-Commit]
122+
needs: [Build]
123123
uses: ./.github/workflows/_test_spot_private.yaml
124124
strategy:
125125
max-parallel: 1 # to avoid failing tests because of API Rate limits
@@ -137,7 +137,7 @@ jobs:
137137
##
138138
## (public endpoints)
139139
Test-Futures-Public:
140-
needs: [Pre-Commit]
140+
needs: [Build]
141141
uses: ./.github/workflows/_test_futures_public.yaml
142142
strategy:
143143
fail-fast: false
@@ -151,7 +151,7 @@ jobs:
151151
## (private endpoints)
152152
Test-Futures-Private:
153153
if: success() && github.actor == 'btschwertfeger'
154-
needs: [Pre-Commit]
154+
needs: [Build]
155155
uses: ./.github/workflows/_test_futures_private.yaml
156156
strategy:
157157
max-parallel: 1 # to avoid failing tests because of API Rate limits
@@ -196,6 +196,10 @@ jobs:
196196
- Build-Doc
197197
- CodeQL
198198
- CodeCov
199+
- Test-Futures-Private
200+
- Test-Futures-Public
201+
- Test-Spot-Private
202+
- Test-Spot-Public
199203
name: Upload development version to Test PyPI
200204
uses: ./.github/workflows/_pypi_test_publish.yaml
201205
secrets:
@@ -214,6 +218,10 @@ jobs:
214218
- Build-Doc
215219
- CodeQL
216220
- CodeCov
221+
- Test-Futures-Private
222+
- Test-Futures-Public
223+
- Test-Spot-Private
224+
- Test-Spot-Public
217225
name: Upload release to PyPI
218226
uses: ./.github/workflows/_pypi_publish.yaml
219227
secrets:

0 commit comments

Comments
 (0)