Skip to content

Commit 836a488

Browse files
committed
attempt to fix hiedb lock errors
it looks like the test runner has a preexisting process locking the hiedb
1 parent 00add61 commit 836a488

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ jobs:
138138
sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
139139
src/**/*.hs exe/*.hs
140140
141+
# this is only safe if the test environment is isolated
142+
- name: clean ide cache
143+
run: rm -rf ~/.cache/ghcide
144+
141145
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
142146
name: Build
143147
# Retry it three times to workaround compiler segfaults in windows

0 commit comments

Comments
 (0)