commercialhaskell / commercialhaskell/stack

Integration tests which involve historical stack versions

Open
#1,889 1 comment 0 reactions 0 assignees View on GitHub
component: testing
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

It'd be great to have some tests which do some sanity checks using older stack versions:

1) Can an old stack version build the current stack version (particularly via `stack upgrade --git`)? (this build works all the way back to the first stable release, 0.1!) - https://gist.github.com/mgsloan/5ba3eb8e3b32ff409a8b

2) Can current stack build an old stack version (particularly, via `stack upgrade --git`). Similarly, we can still build the first stable release.

3) Do any integration tests fail if working directories from the previous stack version are left behind?

4) Test the `require-stack-version` demanded by the `stack.yaml` generated by `stack init`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.