Skip to content

Commit 27bb049

Browse files
committed
Add CI workflow
1 parent 096b92e commit 27bb049

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/hackage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
matrix:
2929
package: ["hie-compat", "hls-graph", "shake-bench",
3030
"hls-plugin-api", "ghcide", "hls-test-utils",
31+
"hls-cabal-plugin",
3132
"hls-brittany-plugin", "hls-floskell-plugin", "hls-fourmolu-plugin",
3233
"hls-ormolu-plugin", "hls-stylish-haskell-plugin",
3334
"hls-class-plugin", "hls-eval-plugin", "hls-explicit-imports-plugin",

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ jobs:
252252
name: Test hls-explicit-fixity-plugin test suite
253253
run: cabal test hls-explicit-fixity-plugin --test-options="$TEST_OPTS" || cabal test hls-explicit-fixity-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-explicit-fixity-plugin --test-options="$TEST_OPTS"
254254

255+
- if: matrix.test
256+
name: Test hls-cabal-plugin test suite
257+
run: cabal test hls-cabal-plugin --test-options="$TEST_OPTS" || cabal test hls-cabal-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-cabal-plugin --test-options="$TEST_OPTS"
258+
255259
test_post_job:
256260
if: always()
257261
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)