Skip to content

Commit 0f0d984

Browse files
committed
Run the ghcide test suite first
1 parent d471855 commit 0f0d984

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ jobs:
6969
# Retry it three times to workaround compiler segfaults in windows
7070
run: cabal build || cabal build || cabal build
7171

72+
- name: Test ghcide
73+
if: ${{ !matrix.ghc-lib }}
74+
shell: bash
75+
# run the tests without parallelism to avoid running out of memory
76+
run: cabal test ghcide --test-options="-j1 --rerun-update" || cabal test ghcide --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test ghcide --test-options="-j1 --rerun"
77+
7278
- name: Test func-test suite
7379
if: ${{ !matrix.ghc-lib }}
7480
shell: bash
@@ -90,9 +96,3 @@ jobs:
9096
# all functional test cases simultaneously which causes way too many hls
9197
# instances to be spun up for the poor github actions runner to handle
9298
run: cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1"
93-
94-
- name: Test ghcide
95-
if: ${{ !matrix.ghc-lib }}
96-
shell: bash
97-
# run the tests without parallelism to avoid running out of memory
98-
run: cabal test ghcide --test-options="-j1 --rerun-update" || cabal test ghcide --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test ghcide --test-options="-j1 --rerun"

0 commit comments

Comments
 (0)