ci: runner compile immediately
This commit is contained in:
parent
a52b384782
commit
6c166e4f76
@ -8,6 +8,7 @@ default:
|
||||
|
||||
check_format:
|
||||
stage: check
|
||||
needs: []
|
||||
before_script:
|
||||
- cs install scalafmt
|
||||
script:
|
||||
@ -15,6 +16,7 @@ check_format:
|
||||
|
||||
check_commits:
|
||||
stage: check
|
||||
needs: []
|
||||
image: node:lts-alpine
|
||||
before_script:
|
||||
- apk add git
|
||||
@ -25,6 +27,7 @@ check_commits:
|
||||
|
||||
compile_jvm:
|
||||
stage: compile
|
||||
needs: []
|
||||
script:
|
||||
- scala compile --platform jvm -Werror .
|
||||
artifacts:
|
||||
@ -34,7 +37,6 @@ compile_jvm:
|
||||
|
||||
test_jvm:
|
||||
stage: test
|
||||
dependencies:
|
||||
- compile_jvm
|
||||
needs: [ compile_jvm ]
|
||||
script:
|
||||
- scala test --platform jvm .
|
||||
|
Loading…
x
Reference in New Issue
Block a user