File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,24 @@ jobs:
64
64
run : |
65
65
# Necessary for doctest to be found in $PATH
66
66
export PATH="$HOME/.cabal/bin:$PATH"
67
- # Filter out base-compat-batteries from .ghc.environment.*
68
- # TODO: This is an ugly hack.
69
- pwd
70
- ls .ghc.environment.*
67
+
68
+ # Filter out base-compat-batteries from .ghc.environment.*, as its modules
69
+ # conflict with those of base-compat.
70
+ #
71
+ # FIXME: This is an ugly hack. Ultimately, we'll want to use cabal-doctest
72
+ # (or cabal v2-doctest, if it ever lands) to provide a clean GHC environment
71
73
perl -i -e 'while (<ARGV>) { print unless /package-id\s+(base-compat-batteries)-\d+(\.\d+)*/; }' .ghc.environment.*
72
- cat .ghc.environment.*
73
- (cd servant && rm -f .ghc.environment.* && doctest src)
74
+
75
+ (cd servant && doctest src)
76
+ (cd servant-client && doctest src)
77
+ (cd servant-client-core && doctest src)
78
+ (cd servant-http-streams && doctest src)
79
+ (cd servant-docs && doctest src)
80
+ (cd servant-foreign && doctest src)
81
+ (cd servant-server && doctest src)
82
+ (cd servant-machines && doctest src)
83
+ (cd servant-conduit && doctest src)
84
+ (cd servant-pipes && doctest src)
74
85
75
86
stack :
76
87
name : stack / ghc ${{ matrix.ghc }}
You can’t perform that action at this time.
0 commit comments