Skip to content

Commit 421522d

Browse files
fendorhasufell
authored andcommitted
Set up the environment in the test-suite
1 parent 64f353e commit 421522d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
ghc-version: ${{ matrix.ghc }}
3131
- run: |
3232
mkdir -p test-workspace/bin/
33-
export GHCUP_INSTALL_BASE_PREFIX=$(pwd)/bin
33+
export GHCUP_USE_XDG_DIRS=1
34+
export XDG_BIN_HOME=$(pwd)/test-workspace/bin/.ghcup/bin
35+
export GHCUP_INSTALL_BASE_PREFIX=$(pwd)/test-workspace/bin
36+
echo $XDG_BIN_HOME $GHCUP_INSTALL_BASE_PREFIX
3437
ghcup --no-verbose prefetch hls 1.4.0
3538
ghcup --no-verbose prefetch hls latest
3639
shell: bash

0 commit comments

Comments
 (0)