Skip to content

Commit

Permalink
Set errtrace in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 29, 2023
1 parent 0b1573d commit ca62606
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ jobs:
# TODO: move this test to tests/test.rs
- run: cargo install --path . --debug
- run: |
set -euxo pipefail
set -eEuxo pipefail
cargo llvm-cov nextest --text --fail-under-lines 50
cargo llvm-cov nextest --text --fail-under-lines 50 --profile default --cargo-profile dev
cargo llvm-cov nextest --text --fail-under-lines 50 --profile ci
cargo llvm-cov nextest --text --fail-under-lines 50 --profile ci --cargo-profile dev
working-directory: tests/fixtures/crates/bin_crate
- run: |
set -euxo pipefail
set -eEuxo pipefail
git clone --depth 1 https://github.com/taiki-e/easytime.git
cd easytime
cargo llvm-cov test --doctests --text --fail-under-lines 30
Expand Down
2 changes: 1 addition & 1 deletion tools/publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: Apache-2.0 OR MIT
set -euo pipefail
set -eEuo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..

Expand Down
2 changes: 1 addition & 1 deletion tools/tidy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: Apache-2.0 OR MIT
# shellcheck disable=SC2046
set -euo pipefail
set -eEuo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..

Expand Down

0 comments on commit ca62606

Please sign in to comment.