@@ -107,16 +107,12 @@ jobs:
107
107
# run the tests without parallelism, otherwise tasty will attempt to run
108
108
# all functional test cases simultaneously which causes way too many hls
109
109
# instances to be spun up for the poor github actions runner to handle
110
+ #
111
+ # See https://github.com/ocharles/tasty-rerun/issues/22 for why we need
112
+ # to include 'new' in the filters, since many of our test suites are in the
113
+ # same package.
110
114
run : |
111
- echo "TEST_OPTS=-j1 --rerun-update --rerun-filter failures,exceptions" >> $GITHUB_ENV
112
-
113
- - name : Cache test log between attempts of the same run
114
- uses : actions/cache@v3
115
- env :
116
- cache-name : cache-test-log
117
- with :
118
- path : " **/.tasty-rerun-log*"
119
- key : v1-${{ runner.os }}-${{ matrix.ghc }}-test-log-${{ github.sha }}
115
+ echo "TEST_OPTS=-j1 --rerun-update --rerun-filter failures,exceptions,new" >> $GITHUB_ENV
120
116
121
117
- if : matrix.test
122
118
name : Test hls-graph
@@ -236,7 +232,7 @@ jobs:
236
232
# # version needs to be limited since the tests depend on cabal-fmt which only builds using specific ghc versions
237
233
- if : matrix.test && matrix.ghc == '9.2'
238
234
name : Test hls-cabal-fmt-plugin test suite
239
- run : cabal test hls-cabal-fmt-plugin-tests --flag=isolateTests --test-options="$TEST_OPTS" || cabal test hls-cabal-fmt-plugin-tests --flag=isolateTests --test-options="$TEST_OPTS"
235
+ run : cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests --test-options="$TEST_OPTS" || cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests --test-options="$TEST_OPTS"
240
236
241
237
- if : matrix.test
242
238
name : Test hls-cabal-plugin test suite
0 commit comments