Skip to content

Commit

Permalink
checking for failers
Browse files Browse the repository at this point in the history
  • Loading branch information
freemanzMrojo committed Aug 26, 2024
1 parent d595346 commit da083bd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ jobs:
with:
shard-matrix: "{ \"shard\": [1,2,3] }"
secrets: inherit

check-failures:
runs-on: ubuntu-latest
needs: call-workflow-hardhat-tests
steps:
- name: Check for shard failures
run: |
if [ "${{ needs.call-workflow-hardhat-tests.result }}" != "success" ]; then
echo "One or more shard jobs failed."
exit 1
fi

0 comments on commit da083bd

Please sign in to comment.