Skip to content

Commit

Permalink
attempt to fix hiedb lock errors
Browse files Browse the repository at this point in the history
it looks like the test runner has a preexisting process locking the hiedb
  • Loading branch information
pepeiborra committed Oct 24, 2021
1 parent 00add61 commit b166f18
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ jobs:
sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
src/**/*.hs exe/*.hs
# this is only safe if the test environment is isolated
- name: clean ide cache
run: |
pgrep -af ghcide; true
pgrep -af hls; true
rm -rf ~/.cache/ghcide
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Build
# Retry it three times to workaround compiler segfaults in windows
Expand Down

0 comments on commit b166f18

Please sign in to comment.