Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 8906094

Browse files
committed
Invert -z to -n to only run if the environment variable is set
1 parent 23b67d4 commit 8906094

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integrationTest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -z "$CIRCLECI" ]; then
88
go test ./... 2>&1 | grep -v 'no test files'
99
fi
1010

11-
if [[ -f "tests/env.sh" ]] || [ -z "$CIRCLECI" ]; then
11+
if [[ -f "tests/env.sh" ]] || [ -n "$CIRCLECI" ]; then
1212
echo "env.sh already configured, skipping configuring new accounts..."
1313
else
1414
python3 tests/configure_accounts.py

0 commit comments

Comments
 (0)