ci: fix check commits
This commit is contained in:
parent
efe9f91303
commit
4f3596b48a
@ -30,9 +30,9 @@ check_commits:
|
|||||||
before_script:
|
before_script:
|
||||||
- apk add git
|
- apk add git
|
||||||
- npm install -g @commitlint/cli @commitlint/config-conventional
|
- npm install -g @commitlint/cli @commitlint/config-conventional
|
||||||
- git pull origin master
|
- git checkout origin/master
|
||||||
script:
|
script:
|
||||||
- npx commitlint --from origin/master --to HEAD --verbose
|
- npx commitlint --from origin/master --to ${CI_COMMIT_SHA} --verbose
|
||||||
|
|
||||||
compile_jvm:
|
compile_jvm:
|
||||||
stage: compile
|
stage: compile
|
||||||
@ -48,10 +48,10 @@ test_jvm:
|
|||||||
image: gumjoe/wacc-ci-scala:x86
|
image: gumjoe/wacc-ci-scala:x86
|
||||||
stage: test
|
stage: test
|
||||||
# Use our own runner (not cloud VM or shared) to ensure we have multiple cores.
|
# 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
|
# This is expensive, so do use `dependencies` instead of `needs` to
|
||||||
# ensure all previous stages pass.
|
# ensure all previous stages pass.
|
||||||
dependencies: [ compile_jvm ]
|
dependencies: [compile_jvm]
|
||||||
before_script:
|
before_script:
|
||||||
- git clone https://$EXAMPLES_AUTH@gitlab.doc.ic.ac.uk/lab2425_spring/wacc-examples.git
|
- git clone https://$EXAMPLES_AUTH@gitlab.doc.ic.ac.uk/lab2425_spring/wacc-examples.git
|
||||||
script:
|
script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user