Skip to content

Commit a573139

Browse files
committed
[experiment] run only plugin tests in CI
1 parent 33cf5b2 commit a573139

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -113,30 +113,30 @@ jobs:
113113
# Retry it three times to workaround compiler segfaults in windows
114114
run: cabal build || cabal build || cabal build
115115

116-
- name: Test ghcide
117-
if: ${{ matrix.test }}
118-
# run the tests without parallelism to avoid running out of memory
119-
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"
120-
121-
- name: Test func-test suite
122-
if: ${{ matrix.test }}
123-
env:
124-
HLS_TEST_EXE: hls
125-
HLS_WRAPPER_TEST_EXE: hls-wrapper
126-
# run the tests without parallelism, otherwise tasty will attempt to run
127-
# all functional test cases simultaneously which causes way too many hls
128-
# instances to be spun up for the poor github actions runner to handle
129-
run: cabal test func-test --test-options="-j1 --rerun --rerun-update" || cabal test func-test --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test func-test --test-options="-j1 --rerun"
130-
131-
- name: Test wrapper-test suite
132-
if: ${{ matrix.test }}
133-
env:
134-
HLS_TEST_EXE: hls
135-
HLS_WRAPPER_TEST_EXE: hls-wrapper
136-
# run the tests without parallelism, otherwise tasty will attempt to run
137-
# all functional test cases simultaneously which causes way too many hls
138-
# instances to be spun up for the poor github actions runner to handle
139-
run: cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1"
116+
# - name: Test ghcide
117+
# if: ${{ matrix.test }}
118+
# # run the tests without parallelism to avoid running out of memory
119+
# 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"
120+
121+
# - name: Test func-test suite
122+
# if: ${{ matrix.test }}
123+
# env:
124+
# HLS_TEST_EXE: hls
125+
# HLS_WRAPPER_TEST_EXE: hls-wrapper
126+
# # run the tests without parallelism, otherwise tasty will attempt to run
127+
# # all functional test cases simultaneously which causes way too many hls
128+
# # instances to be spun up for the poor github actions runner to handle
129+
# run: cabal test func-test --test-options="-j1 --rerun --rerun-update" || cabal test func-test --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test func-test --test-options="-j1 --rerun"
130+
131+
# - name: Test wrapper-test suite
132+
# if: ${{ matrix.test }}
133+
# env:
134+
# HLS_TEST_EXE: hls
135+
# HLS_WRAPPER_TEST_EXE: hls-wrapper
136+
# # run the tests without parallelism, otherwise tasty will attempt to run
137+
# # all functional test cases simultaneously which causes way too many hls
138+
# # instances to be spun up for the poor github actions runner to handle
139+
# run: cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1"
140140

141141
- name: Test hls-brittany-plugin
142142
if: ${{ matrix.test }}

0 commit comments

Comments
 (0)