ci: fix check commits

This commit is contained in:
Gleb Koval 2025-02-25 17:35:04 +00:00
parent efe9f91303
commit 4f3596b48a
Signed by: cyclane
GPG Key ID: 15E168A8B332382C

View File

@ -30,9 +30,9 @@ check_commits:
before_script:
- apk add git
- npm install -g @commitlint/cli @commitlint/config-conventional
- git pull origin master
- git checkout origin/master
script:
- npx commitlint --from origin/master --to HEAD --verbose
- npx commitlint --from origin/master --to ${CI_COMMIT_SHA} --verbose
compile_jvm:
stage: compile
@ -48,10 +48,10 @@ test_jvm:
image: gumjoe/wacc-ci-scala:x86
stage: test
# Use our own runner (not cloud VM or shared) to ensure we have multiple cores.
tags: [ large ]
tags: [large]
# This is expensive, so do use `dependencies` instead of `needs` to
# ensure all previous stages pass.
dependencies: [ compile_jvm ]
dependencies: [compile_jvm]
before_script:
- git clone https://$EXAMPLES_AUTH@gitlab.doc.ic.ac.uk/lab2425_spring/wacc-examples.git
script: