File tree 4 files changed +12
-2
lines changed
plugins/hls-tactics-plugin
4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -172,4 +172,4 @@ jobs:
172
172
173
173
- if : ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
174
174
name : Test hls-tactics-plugin test suite
175
- run : LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="-j1"
175
+ run : cabal test hls-tactics-plugin --test-options="-j1 --rerun-update" || cabal test hls-tactics-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="-j1 --rerun "
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ test-suite tests
119
119
CodeAction.IntrosSpec
120
120
CodeAction.UseDataConSpec
121
121
ProviderSpec
122
+ Spec
122
123
UnificationSpec
123
124
Utils
124
125
hs-source-dirs :
@@ -144,6 +145,7 @@ test-suite tests
144
145
, text
145
146
, deepseq
146
147
, tasty-hunit
148
+ , tasty-hspec
147
149
build-tool-depends :
148
150
hspec-discover :hspec-discover
149
151
default-language : Haskell2010
Original file line number Diff line number Diff line change 1
- {-# OPTIONS_GHC -F -pgmF hspec-discover -optF --module-name=Main #-}
1
+ module Main where
2
+
3
+ import qualified Spec
4
+ import Test.Hls
5
+ import Test.Tasty.Hspec
6
+
7
+ main :: IO ()
8
+ main = testSpecs Spec. spec >>= defaultTestRunner . testGroup " tactics"
Original file line number Diff line number Diff line change
1
+ {-# OPTIONS_GHC -F -pgmF hspec-discover -optF --module-name=Spec #-}
You can’t perform that action at this time.
0 commit comments