Skip to content

Commit 73fa801

Browse files
committed
Set options after testing hls-graph
1 parent 3c6e105 commit 73fa801

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,19 @@ jobs:
103103
- name: Build
104104
run: cabal build
105105

106-
- name: Set test options
106+
- if: matrix.test
107+
name: Test hls-graph
108+
run: cabal test hls-graph
109+
110+
# Do this after running the tests that don't use tasty-rerun, otherwise they complain
111+
# about not recognizing the arguments
112+
- name: Set rerun test options
107113
# See https://github.com/ocharles/tasty-rerun/issues/22 for why we need
108114
# to include 'new' in the filters, since many of our test suites are in the
109115
# same package.
110116
run: |
111117
echo "test-options: --rerun-update --rerun-filter failures,exceptions,new" >> cabal.project.local
112118
113-
- if: matrix.test
114-
name: Test hls-graph
115-
run: cabal test hls-graph
116-
117119
- if: needs.pre_job.outputs.should_skip_ghcide != 'true' && matrix.test
118120
name: Test ghcide
119121
# run the tests without parallelism to avoid running out of memory

0 commit comments

Comments
 (0)