ci: fix check commits
This commit is contained in:
parent
efe9f91303
commit
4f3596b48a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user