haskell-language-server
haskell-language-server copied to clipboard
HLS source distribution is missing extra-source-files necessary for testing
Vs:
> ls plugins/hls-semantic-tokens-plugin/test/testdata/ | wc -l
52
In particular, we are missing all *.expected files. We should test that we can run the tests of the source distribution produced by cabal sdist.
Closed by #4105
We fixed this situation in #4105 and #4107, but we should add a CI check that this can't happen again. Potentially, the workflow for running tests should be as follows: cabal sdist > tar > cabal test. Iirc, haskell-ci generates this workflow.
Relevant: https://github.com/haskell/cabal/issues/1141