summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-01-31 19:08:01 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-04 10:02:35 -0500
commit62d670eb3a1c059f1ff977471f8d77dac5cf21b8 (patch)
treecf1406720690eba63cc3ad2d92385dc8689ad1d5 /.gitlab-ci.yml
parenteddaa591a478e7598a9f5df4c26306e4fadbf08e (diff)
downloadhaskell-62d670eb3a1c059f1ff977471f8d77dac5cf21b8.tar.gz
testsuite: Run testsuite dependency calculation before GHC is built
The main motivation for this patch is to allow tests to be added to the testsuite which test things about the source tree without needing to build GHC. In particular the notes linter can easily start failing and by integrating it into the testsuite the process of observing these changes is caught by normal validation procedures rather than having to run the linter specially. With this patch I can run ``` ./hadrian/build test --flavour=devel2 --only="uniques" ``` In a clean tree to run the checkUniques linter without having to build GHC. Fixes #21029
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e72c394f70..7776a1427b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -186,7 +186,7 @@ ghc-linters:
- .gitlab/linters/check-makefiles.py commits $base $CI_COMMIT_SHA
- .gitlab/linters/check-cpp.py commits $base $CI_COMMIT_SHA
- .gitlab/linters/check-version-number.sh
- - python3 utils/checkUniques/check-uniques.py .
+ - python3 testsuite/tests/linters/checkUniques/check-uniques.py .
dependencies: []
rules:
- if: $CI_MERGE_REQUEST_ID