Skip to content

Commit

Permalink
[gha] Fix conditional scheduling in forge stable
Browse files Browse the repository at this point in the history
Forge stable, in case of failure always needs to run

Test Pla: job runs on PR
  • Loading branch information
perryjrandall committed Apr 25, 2024
1 parent 3b3edf1 commit f7a3b8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/forge-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ jobs:
### Real-world-network tests.
# Run forge framework upgradability test. This is a PR required job.
run-forge-framework-upgrade-test:
if: ${{ github.event_name != 'pull_request' }}
needs:
- determine-test-metadata
uses: aptos-labs/aptos-core/.github/workflows/workflow-run-forge.yaml@main
Expand All @@ -130,7 +131,7 @@ jobs:
POST_TO_SLACK: true

run-forge-realistic-env-max-load-long:
if: ${{ github.event_name != 'pull_request' }}
if: ${{ github.event_name != 'pull_request' && always() }}
needs: [determine-test-metadata, run-forge-framework-upgrade-test] # Only run after the previous job completes
uses: aptos-labs/aptos-core/.github/workflows/workflow-run-forge.yaml@main
secrets: inherit
Expand Down

0 comments on commit f7a3b8c

Please sign in to comment.