Skip to content

Commit

Permalink
chore: fix spartan test nightly runner (#8433)
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch authored Sep 7, 2024
1 parent 7b9800b commit a34f353
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/spartan-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
run: |
earthly-ci ./yarn-project+export-e2e-test-images
network-e2e:
test:
needs: [build, changes]
if: ${{ needs.changes.outputs.non-barretenberg-cpp == 'true' }}
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
success-check:
runs-on: ubuntu-20.04
needs:
- build-and-test
- test
if: always()
steps:
- name: Report overall success
Expand Down
4 changes: 3 additions & 1 deletion yarn-project/aztec/src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ async function main() {
main().catch(err => {
debugLogger.error(`Error in command execution`);
debugLogger.error(err + '\n' + err.stack);
process.exit(1);
// See https://nodejs.org/api/process.html#processexitcode
process.exitCode = 1;
throw err;
});

0 comments on commit a34f353

Please sign in to comment.