Skip to content

Commit b422ffc

Browse files
committed
Document CI hacks slightly better
1 parent 2daf8c2 commit b422ffc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
run: |
4040
choco install tree
4141
if: runner.os == 'Windows'
42+
# Pre-fetch HLS binaries before the tests because otherwise
43+
# we run into timeouts. Downloading takes longer, since we download
44+
# per HLS version one HLS binary per GHC version.
4245
- run: |
4346
mkdir -p test-workspace/bin/
4447
export GHCUP_INSTALL_BASE_PREFIX=$(pwd)/test-workspace/bin
@@ -67,6 +70,9 @@ jobs:
6770

6871
# Create package artefacts
6972
- name: Delete test artefacts
73+
# The test-suite doesn't clean up correctly after itself.
74+
# This is a poor man's workaround that after test execution,
75+
# the test-workspace still contains binaries and caches.
7076
run: |
7177
tree -a test-workspace/
7278
rm -rf test-workspace/

0 commit comments

Comments
 (0)