File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 11name : Test Database
22on :
3- push :
4- branches :
5- - develop
6- pull_request :
3+ # Trigger this workflow when the "Nix CI" workflow completes
4+ workflow_run :
5+ workflows : ["Nix CI"]
6+ types :
7+ - completed
78 workflow_dispatch :
89
910permissions :
@@ -12,6 +13,7 @@ permissions:
1213
1314jobs :
1415 prepare :
16+ if : ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
1517 runs-on : large-linux-x86
1618 outputs :
1719 postgres_versions : ${{ steps.set-versions.outputs.postgres_versions }}
2931 VERSIONS=$(nix run nixpkgs#yq -- '.postgres_major[]' ansible/vars.yml | nix run nixpkgs#jq -- -R -s -c "split(\"\n\")[:-1]")
3032 echo "postgres_versions=$VERSIONS" >> $GITHUB_OUTPUT
3133 build :
34+ if : ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
3235 needs : prepare
3336 strategy :
3437 matrix :
Original file line number Diff line number Diff line change 11name : Testinfra Integration Tests Nix
22
33on :
4- pull_request :
4+ # Trigger this workflow when the "Nix CI" workflow completes
5+ workflow_run :
6+ workflows : ["Nix CI"]
7+ types :
8+ - completed
59 workflow_dispatch :
610
711permissions :
@@ -10,6 +14,7 @@ permissions:
1014
1115jobs :
1216 prepare :
17+ if : ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
1318 runs-on : large-linux-x86
1419 outputs :
1520 postgres_versions : ${{ steps.set-versions.outputs.postgres_versions }}
2631 echo "postgres_versions=$VERSIONS" >> $GITHUB_OUTPUT
2732
2833 test-ami-nix :
34+ if : ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
2935 needs : prepare
3036 strategy :
3137 fail-fast : false
You can’t perform that action at this time.
0 commit comments