Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghcide tests fail for our GHC 8.6.4 stack deps #22

Closed
alanz opened this issue Jan 29, 2020 · 15 comments
Closed

ghcide tests fail for our GHC 8.6.4 stack deps #22

alanz opened this issue Jan 29, 2020 · 15 comments

Comments

@alanz
Copy link
Collaborator

alanz commented Jan 29, 2020

See https://circleci.com/gh/alanz/ide/9

This is part of https://circleci.com/workflow-run/9631ba2c-6905-49ca-b1cd-59ca6e0bdc68

And it is prior to making ghcide a dependency, rather than a submodule.

Perhaps we should revisit that, for now?

@alanz
Copy link
Collaborator Author

alanz commented Jan 29, 2020

cc @jneira

@jneira
Copy link
Member

jneira commented Jan 30, 2020

Mmm, afaiu ghcide itself dont run ci on 8.6.4, only it is for the last minor version so maybe we should fix it upstream or remove 8.6.4 ourselves

@alanz
Copy link
Collaborator Author

alanz commented Jan 30, 2020

Ok. I have lost track of things, which 8.6 version is broken for window? 8.6.4?

@ndmitchell
Copy link
Collaborator

The problem is that all the known broken tests are failing. It might be not a GHC 8.X thing, but the test library having a hiccup in that LTS. We only test on the last minor, but it's not unreasonable to have IDE test on them all, and use that to fix upstream (the number of such issues should be low, one would hope...)

@jneira
Copy link
Member

jneira commented Jan 30, 2020

@alanz

  • afaik the initial circleci report is a fail test suite in linux+stack+ghc-8.6.4
  • the fail is in ghcide tests, we moved it to extra-deps so ghcide test suite should not be even run with the actual config
  • so the errors could be arise again only in haskell-ide specific test suite, hitting them through the use of ghcide as a library

@ndmitchell
Copy link
Collaborator

I would recommend running the ghcide test suite. It's big, and most of the errors you will get are going to arise in ghcide.

@alanz
Copy link
Collaborator Author

alanz commented Jan 30, 2020

I would recommend running the ghcide test suite. It's big, and most of the errors you will get are going to arise in ghcide.

That was my thought too. Especially as we don't have a test suite here yet, and it would be pointless to duplicate it.

@jneira
Copy link
Member

jneira commented Jan 30, 2020

Ok so i will move it as local package again to run the test suite by default (now you have to run stack test ghcide or cabal test ghcide)

@alanz
Copy link
Collaborator Author

alanz commented Jan 30, 2020

Yes. And we will have to deal with the installation fallout too. Except I think that is already managed?

@jneira
Copy link
Member

jneira commented Jan 30, 2020

Yeah, with c67e9fa

ndmitchell added a commit to ndmitchell/ghcide that referenced this issue Feb 2, 2020
These doc tests fail on GHC 8.6.4, so restrict them to 8.6.5 and above. See haskell/haskell-language-server#22
@ndmitchell
Copy link
Collaborator

I think this is probably fixed in haskell/ghcide#398.

cocreature pushed a commit to haskell/ghcide that referenced this issue Feb 2, 2020
These doc tests fail on GHC 8.6.4, so restrict them to 8.6.5 and above. See haskell/haskell-language-server#22
@ndmitchell
Copy link
Collaborator

Now fixed on master, so you should be able to reenable them.

@alanz
Copy link
Collaborator Author

alanz commented Feb 3, 2020

It worries me slightly that the ghcide fix is to punt, by disabling the test for GHC 8,6,4.

Which makes me think we may end up building an more comprehensive test suite here, because we explicitly want to test functionality for the versions we claim to support.

@ndmitchell
Copy link
Collaborator

We're testing what the docs are in the base library, that get modified with each point release. I think that's why they only work with 8.6.5 - not the underlying code.

@jneira
Copy link
Member

jneira commented May 25, 2020

It seems the ghcide tests for ghc-8.6.4 are failing with the same errors than the other versions and there is an issue about testing (#5) so i think we could close this one

@jneira jneira closed this as completed Jun 2, 2020
pepeiborra pushed a commit that referenced this issue Dec 27, 2020
pepeiborra pushed a commit to pepeiborra/ide that referenced this issue Dec 29, 2020
These doc tests fail on GHC 8.6.4, so restrict them to 8.6.5 and above. See haskell#22
pepeiborra pushed a commit to pepeiborra/ide that referenced this issue Dec 29, 2020
These doc tests fail on GHC 8.6.4, so restrict them to 8.6.5 and above. See haskell#22
pepeiborra pushed a commit to pepeiborra/ide that referenced this issue Dec 29, 2020
These doc tests fail on GHC 8.6.4, so restrict them to 8.6.5 and above. See haskell#22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants