Skip to content

Commit

Permalink
set -e to exit on error
Browse files Browse the repository at this point in the history
  • Loading branch information
silkroadnomad committed Dec 4, 2024
1 parent 9914609 commit 0501498
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Modify Run Command and Run Playwright tests
run: |
sed -i.bak \
-e 's/^ # command: \["npx", "playwright", "test"\]/ command: \["npx", "playwright", "test"\]/' \
-e 's/^ # command: / command: /' \
-e 's/^ command: \["echo", "finished building"\]/ # command: \["echo", "finished building"\]/' \
./docker/doichain/docker-compose-regtest.yml
sed -i.bak \
Expand Down
3 changes: 1 addition & 2 deletions docker/doichain/docker-compose-regtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ services:
ports:
- "50001:50001"
- "50002:50002"
- "8080:8080"
- "8443:8443"
stdin_open: true
tty: true
Expand All @@ -42,7 +41,7 @@ services:
ports:
- "9323:9323"
image: "doichain/playwright:latest"
# command: ["npx", "playwright", "test"]
# command: ["sh", "-c", "set -e; npx playwright test'"]
command: ["echo", "finished building"]
stdin_open: true
tty: true
Expand Down

0 comments on commit 0501498

Please sign in to comment.