Skip to content

Conversation

@sol
Copy link
Contributor

@sol sol commented Dec 10, 2025

Running Hspec tests on CI currently still requires manual steps:

  1. The .cabal file has to be modified, changing test-suite to executable so that mcabal builds it.
  2. hspec-discover has to be invoked manually because mhs does not interpret GHC options -F -Fpgm.
  3. The test suite has to be invoked manually.

This PR addresses (1) and (3) by adding a test command.

showcase

hspec/hspec-example#38

IMG_2036

@augustss
Copy link
Owner

Thanks!
Please, file an issue about -F in the MicroHs repo so I don't forget.

@augustss augustss merged commit 86ae15b into augustss:main Dec 10, 2025
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

Successfully merging this pull request may close these issues.

2 participants