Skip to content

Commit b166f18

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 b166f18

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@ 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: |
144+
pgrep -af ghcide; true
145+
pgrep -af hls; true
146+
rm -rf ~/.cache/ghcide
147+
141148
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
142149
name: Build
143150
# Retry it three times to workaround compiler segfaults in windows

0 commit comments

Comments
 (0)