File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 11name : Backend Test
22
33on :
4- push :
5- branches :
6- - test
74 workflow_dispatch :
85 inputs :
96 deployment :
107 required : true
118 type : choice
12- default : " z6b8d2f7a-zca4a4c45-gtw.z937eb260.rustrocks.fr "
9+ default : " govtool.cardanoapi.io/api "
1310 options :
1411 - " sanchogov.tools/api"
1512 - " staging.govtool.byron.network/api"
2623 - " preview"
2724 - " mainnet"
2825 - " preprod"
26+ workflow_run :
27+ workflows : ["Build and deploy GovTool test stack"]
28+ types : [completed]
2929
3030jobs :
3131 backend-tests :
3232 runs-on : ubuntu-latest
33+ if : ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
3334 steps :
3435 - name : Checkout code
3536 uses : actions/checkout@v4
6869
6970 publish-report :
7071 runs-on : ubuntu-latest
71- if : always()
72+ if : always() && needs.backend-tests.result != 'skipped'
7273 needs : backend-tests
7374 steps :
7475 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11name : Integration Test [Playwright]
22
33on :
4- push :
5- branches :
6- - test
74 workflow_dispatch :
85 inputs :
96 deployment :
107 required : true
118 type : choice
12- default : " preview.gov.tools "
9+ default : " govtool.cardanoapi.io "
1310 options :
1411 - " sanchogov.tools"
1512 - " staging.govtool.byron.network"
2724 - " preprod"
2825
2926 workflow_run :
30- workflows : ["Build and deploy GovTool to TEST server "]
27+ workflows : ["Build and deploy GovTool test stack "]
3128 types : [completed]
3229
3330jobs :
3431 integration-tests :
3532 runs-on : ubuntu-latest
33+ if : ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
3634 defaults :
3735 run :
3836 working-directory : tests/govtool-frontend/playwright
@@ -111,7 +109,7 @@ jobs:
111109
112110 publish-report :
113111 runs-on : ubuntu-latest
114- if : always()
112+ if : always() && needs.integration-tests.result != 'skipped'
115113 needs : integration-tests
116114 steps :
117115 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments