summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBryan Richter <bryan@haskell.foundation>2022-11-02 15:04:11 +0200
committerBryan Richter <bryan@haskell.foundation>2022-11-04 10:27:37 +0200
commitbdc8cbb3a0808632fc6b33a7e3c10212f5d8a5e9 (patch)
treeae60d76549c1ee1045ec57ddb4826477fc749122 /.gitlab-ci.yml
parent311251543f2e37af4a121e58028bfc46267a7fc9 (diff)
downloadhaskell-bdc8cbb3a0808632fc6b33a7e3c10212f5d8a5e9.tar.gz
CI: Allow hadrian-ghc-in-ghci to run in nightlies
Since lint-submods doesn't run in nightlies, hadrian-ghc-in-ghci needs to mark it as "optional" so it can run if the job doesn't exist. Fixes #22396.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d32dbe3a21..20fde5cdff 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -347,7 +347,10 @@ hlint-ghc-and-base:
hadrian-ghc-in-ghci:
stage: quick-build
- needs: [lint-linters, lint-submods]
+ needs:
+ - job: lint-linters
+ - job: lint-submods
+ optional: true
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:$DOCKER_REV"
before_script:
# workaround for docker permissions