File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ jobs:
117
117
- if : needs.pre_job.outputs.should_skip_ghcide != 'true' && matrix.test
118
118
name : Test ghcide
119
119
# run the tests without parallelism to avoid running out of memory
120
- run : cabal test ghcide || cabal test ghcide
120
+ run : cabal test ghcide-tests || cabal test ghcide-tests
121
121
122
122
- if : matrix.test
123
123
name : Test hls-plugin-api
Original file line number Diff line number Diff line change @@ -248,10 +248,10 @@ runWithExtraFiles prefix s = withTempDir $ \dir -> do
248
248
copyTestDataFiles :: FilePath -> FilePath -> IO ()
249
249
copyTestDataFiles dir prefix = do
250
250
-- Copy all the test data files to the temporary workspace
251
- testDataFiles <- getDirectoryFilesIO (" test/data" </> prefix) [" //*" ]
251
+ testDataFiles <- getDirectoryFilesIO (" ghcide/ test/data" </> prefix) [" //*" ]
252
252
for_ testDataFiles $ \ f -> do
253
253
createDirectoryIfMissing True $ dir </> takeDirectory f
254
- copyFile (" test/data" </> prefix </> f) (dir </> f)
254
+ copyFile (" ghcide/ test/data" </> prefix </> f) (dir </> f)
255
255
256
256
withLongTimeout :: IO a -> IO a
257
257
withLongTimeout = bracket_ (setEnv " LSP_TIMEOUT" " 120" True ) (unsetEnv " LSP_TIMEOUT" )
@@ -263,7 +263,7 @@ lspTestCapsNoFileWatches = lspTestCaps & L.workspace . Lens._Just . L.didChangeW
263
263
264
264
openTestDataDoc :: FilePath -> Session TextDocumentIdentifier
265
265
openTestDataDoc path = do
266
- source <- liftIO $ readFileUtf8 $ " test/data" </> path
266
+ source <- liftIO $ readFileUtf8 $ " ghcide/ test/data" </> path
267
267
createDoc path " haskell" source
268
268
269
269
pattern R :: UInt -> UInt -> UInt -> UInt -> Range
You can’t perform that action at this time.
0 commit comments