Skip to content

Commit

Permalink
Fix annoying warning when running tests on some macOS machines (#3346)
Browse files Browse the repository at this point in the history
* don't use LC_ALL of C.UTF-8 on macos when testing

* bump version of racket setup action to version using new NodeJS per GitHub's warnings
  • Loading branch information
mattpolzin authored Jul 8, 2024
1 parent 1931509 commit be2ec7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-idris2-and-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ jobs:
name: windows-installed-bootstrapped-idris2-chez
path: ${{ env.IDRIS_PREFIX }}
- name: Install build dependencies
uses: Bogdanp/setup-racket@v1.4
uses: Bogdanp/setup-racket@v1.11
with:
variant: 'CS'
version: 'stable'
Expand Down
6 changes: 5 additions & 1 deletion tests/testutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ if [ -z "$PREFIX_CHANGED" ] && [ -n "$IDRIS2_PREFIX" ]; then
fi

# Set the most neutral locale for reproducibility
export LC_ALL=C.UTF-8
if [ "$OS" = "darwin" ]; then
export LANG=C LC_CTYPE=UTF-8
else
export LC_ALL=C.UTF-8
fi

# Remove test directory from output
# Useful for consistency of output between machines
Expand Down

0 comments on commit be2ec7d

Please sign in to comment.