Setting up Github actions for testing a haskell project, I am struggling for the lack of haskell-ci’s documentations.
I want to disable some tests on Github actions, since some functionalities require hardware, db connections, etc. Lost on how to achieve this.
Would anyone adept in haskell-ci shed some light for me, please? Thank you!
1 Like
Lysxia
2
You can use a cabal flag to disable a test suite with buildable: False
. No haskell-ci configuration needed.
1 Like
Is it fine to use cabal flag for this purpose? The flags are quite scary to me.
1 Like
Lysxia
4
Why wouldn’t it be fine?
For example, I use flags exactly for this purpose in generic-random.
2 Likes
Thank you, it worked like a charm!
1 Like