Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Always build benchmarks and tests #15

Merged
merged 1 commit into from
Sep 4, 2023
Merged

Always build benchmarks and tests #15

merged 1 commit into from
Sep 4, 2023

Conversation

marmitar
Copy link
Member

@marmitar marmitar commented Sep 4, 2023

Updated stack.yaml so benchmarks and tests are built with the library. Similar to how cabal did it with cabal build --all.

The downside is that tests and benchmarks are always executed too (see commercialhaskell/stack#4977). One option to circumvent it is to enable no-run-tests and no-run-benchmarks, but that won't let us run these components later on (see this comment). My proposed solution here is to use these options in the command line (and recommend them in the README), since forgetting them and running the benchmarks is not as bad as losing the option to run them at all.

Base automatically changed from feat/greedy to main September 4, 2023 01:53
Enforce build of tests and benchmarking when building the lib, to avoid
needless recompilations. Also, update the documentation with recommended
commands for not running tests or benchmarks when that is undesired.
@marmitar marmitar merged commit 09b92dd into main Sep 4, 2023
@marmitar marmitar deleted the feat/build-all branch September 4, 2023 02:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants