Skip to content

Commit f76ca86

Browse files
authored
Merge branch 'master' into jhrcek/fix-OPTIONS_GHC-autocomplete
2 parents 69678bb + 70dd21e commit f76ca86

File tree

7 files changed

+1043
-1259
lines changed

7 files changed

+1043
-1259
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,12 @@ jobs:
107107
# run the tests without parallelism, otherwise tasty will attempt to run
108108
# all functional test cases simultaneously which causes way too many hls
109109
# 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.
110114
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
120116
121117
- if: matrix.test
122118
name: Test hls-graph
@@ -236,7 +232,7 @@ jobs:
236232
## version needs to be limited since the tests depend on cabal-fmt which only builds using specific ghc versions
237233
- if: matrix.test && matrix.ghc == '9.2'
238234
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"
240236

241237
- if: matrix.test
242238
name: Test hls-cabal-plugin test suite

0 commit comments

Comments
 (0)