Closed aleeusgr closed 1 year ago
GitHub CI is set up to run cabal test all upon commit. Therefore for CI to work there should be a test.
cabal test all
https://hackage.haskell.org/package/tasty https://devtut.github.io/haskell/testing-with-tasty.html
https://github.com/kazu-yamamoto/unit-test-example/blob/master/markdown/en/tutorial.md
awesome, a check runs on each push or pull request to main; this with proper test will allow quickly understanding if a change breaks the code.
main
cabal build --enable-tests --enable-benchmarks all FAIL;
cabal build --enable-tests --enable-benchmarks all
https://github.com/SIDANWhatever/plutus-cborhex-automation/pull/14
GitHub CI is set up to run
cabal test all
upon commit. Therefore for CI to work there should be a test.