Skip to content

Commit 21a00e7

Browse files
authored
Merge pull request #8 from haskell-works/direct-test-output-and-generate-environment-files
Direct test output and generate environment files
2 parents 28cca5f + ede1267 commit 21a00e7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,32 @@ workflows:
1313
executor: haskell/ghc-8_2_2
1414
context: haskell-ci
1515
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
16+
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
17+
cabal-test-extra: --test-show-details=direct
1618

1719
- haskell/build-with-binary-cache:
1820
name: GHC 8.4.4
1921
executor: haskell/ghc-8_4_4
2022
context: haskell-ci
2123
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
24+
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
25+
cabal-test-extra: --test-show-details=direct
2226

2327
- haskell/build-with-binary-cache:
2428
name: GHC 8.6.5
2529
executor: haskell/ghc-8_6_5
2630
context: haskell-ci
2731
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
32+
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
33+
cabal-test-extra: --test-show-details=direct
2834

2935
- haskell/build-with-binary-cache:
3036
name: GHC 8.8.1
3137
executor: haskell/ghc-8_8_1
3238
context: haskell-ci
3339
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
40+
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
41+
cabal-test-extra: --test-show-details=direct
3442

3543
- github/release-cabal:
3644
name: GitHub Release

project.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ case "$cmd" in
2626
;;
2727

2828
test)
29-
cabal new-test -j8 --enable-tests --disable-documentation \
29+
cabal v2-test -j8 --enable-tests --test-show-details=direct \
3030
$CABAL_FLAGS "$@"
3131
;;
3232

0 commit comments

Comments
 (0)