Skip to content

Commit

Permalink
fix if
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 authored Sep 24, 2024
1 parent 26373bf commit 948636c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ci_scripts/all_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ set +e
os_info=$(lsb_release -a 2>/dev/null)
set -e

# Only run go tests if os is not Ubuntu and we're not inside nix. This avoids a segfault on CI. See https://github.com/roc-lang/examples/issues/164
if ! echo "$os_info" | grep -q "Ubuntu" && [ -z "$IN_NIX_SHELL" ]; then
# Skip Go tests if os is Ubuntu and we're not inside nix. This avoids a segfault on CI. See https://github.com/roc-lang/examples/issues/164
if echo "$os_info" | grep -q "Ubuntu" && [ -z "$IN_NIX_SHELL" ]; then
echo "Skipping Go test due to https://github.com/roc-lang/examples/issues/164"
else
echo "Running Go test..."
expect ci_scripts/expect_scripts/GoPlatform.exp
fi
Expand Down

0 comments on commit 948636c

Please sign in to comment.