Skip to content

Commit

Permalink
Unset variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
igankevich committed Apr 28, 2024
1 parent 45f1084 commit e1b80f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
lb-140-82-113-3-iad.github.com:443 lb-140-82-114-4-iad.github.com:443 lb-140-82-116-4-sea.github.com:443
151.101.44.223:443 lb-140-82-113-4-iad.github.com:443 api.github.com:443 uploads.github.com:443
lb-140-82-116-14-sea.github.com:443 lb-140-82-112-13-iad.github.com:443 lb-140-82-114-3-iad.github.com:443
lb-140-82-116-3-sea.github.com:443
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down
6 changes: 6 additions & 0 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ clean() {
find target -type f -name '*.profraw' -delete || true
}

# shellcheck disable=SC2046
unset_cijail_variables() {
unset $(env | cut -d= -f1 | grep '^CIJAIL_')
}

# shellcheck disable=SC1091
test_coverage_preamble() {
cargo llvm-cov show-env --export-prefix >.llvm-cov-env
Expand Down Expand Up @@ -36,6 +41,7 @@ test_all() {

set -ex
clean
unset_cijail_variables
test_coverage_preamble
test_all
test_coverage_postamble

0 comments on commit e1b80f7

Please sign in to comment.