File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 - created
1616
1717env :
18- GHC_FOR_QUICK_JOBS : 9.10.3
18+ GHC_FOR_QUICK_JOBS : 9.12.2
1919
2020jobs :
2121 meta :
Original file line number Diff line number Diff line change @@ -151,15 +151,21 @@ ghcid-cli: ## Run ghcid for the cabal-install executable.
151151
152152.PHONY : doctest
153153doctest : # # Run doctests.
154+ cabal --numeric-version
154155 cd Cabal-syntax && $(DOCTEST )
155156 cd Cabal-described && $(DOCTEST )
156157 cd Cabal && $(DOCTEST )
157158 cd cabal-install-solver && $(DOCTEST )
158159 cd cabal-install && $(DOCTEST )
159160
161+ # If we pin and periodically bump the version of doctest, we get more
162+ # reproducible testing. Initially we pinned to doctest-0.25.0 to avoid failures
163+ # with doctest-0.24.3 but `cabal install doctest` depends on index state that
164+ # itself gets bumped when `cabal update --ignore-project` is run.
165+ # SEE: https://github.com/haskell/cabal/issues/11493#issuecomment-4615438425
160166.PHONY : doctest-install
161167doctest-install : # # Install doctest tool needed for running doctests.
162- cabal install doctest --overwrite-policy=always --ignore-project --flag cabal-doctest
168+ cabal install doctest-0.25.0 --overwrite-policy=always --ignore-project --flag cabal-doctest
163169
164170# tests
165171
You can’t perform that action at this time.
0 commit comments