Skip to content

fix(cli): make mud test exit with code 1 on test error#1371

Merged
alvrs merged 3 commits into
mainfrom
alvrs/fix-ci-test-action
Aug 31, 2023
Merged

fix(cli): make mud test exit with code 1 on test error#1371
alvrs merged 3 commits into
mainfrom
alvrs/fix-ci-test-action

Conversation

@alvrs

@alvrs alvrs commented Aug 30, 2023

Copy link
Copy Markdown
Member
  • Currently the process always exits with code 0, so CIs can't detect the script failure. Now the script exits with code 1 in case of an error.

@alvrs alvrs requested a review from frolic as a code owner August 30, 2023 12:54
@changeset-bot

changeset-bot Bot commented Aug 30, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ae545eb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 27 packages
Name Type
@latticexyz/cli Patch
@latticexyz/block-logs-stream Patch
@latticexyz/common Patch
@latticexyz/config Patch
create-mud Patch
@latticexyz/dev-tools Patch
@latticexyz/ecs-browser Patch
@latticexyz/gas-report Patch
@latticexyz/network Patch
@latticexyz/noise Patch
@latticexyz/phaserx Patch
@latticexyz/protocol-parser Patch
@latticexyz/react Patch
@latticexyz/recs Patch
@latticexyz/schema-type Patch
@latticexyz/services Patch
@latticexyz/solecs Patch
solhint-config-mud Patch
solhint-plugin-mud Patch
@latticexyz/std-client Patch
@latticexyz/std-contracts Patch
@latticexyz/store-cache Patch
@latticexyz/store-indexer Patch
@latticexyz/store-sync Patch
@latticexyz/store Patch
@latticexyz/utils Patch
@latticexyz/world Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@alvrs

alvrs commented Aug 30, 2023

Copy link
Copy Markdown
Member Author

@alvrs

alvrs commented Aug 30, 2023

Copy link
Copy Markdown
Member Author

dk1a
dk1a previously approved these changes Aug 31, 2023
@alvrs alvrs changed the base branch from alvrs/empty-commit to main August 31, 2023 13:18
@alvrs alvrs dismissed dk1a’s stale review August 31, 2023 13:18

The base branch was changed.

@alvrs alvrs force-pushed the alvrs/fix-ci-test-action branch from 9483d3e to 8d8c89e Compare August 31, 2023 13:18
@alvrs

alvrs commented Aug 31, 2023

Copy link
Copy Markdown
Member Author

merging since no code change since last approval

@alvrs alvrs merged commit dc258e6 into main Aug 31, 2023
@alvrs alvrs deleted the alvrs/fix-ci-test-action branch August 31, 2023 13:34
@github-actions github-actions Bot mentioned this pull request Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants