ci: check format, commits, compilation and tests #1

Merged
gk1623 merged 5 commits from ci-setup into master 2025-01-27 21:30:37 +00:00
7 changed files with 82 additions and 24 deletions
Showing only changes of commit 6c166e4f76 - Show all commits

View File

@@ -8,6 +8,7 @@ default:
check_format: check_format:
stage: check stage: check
needs: []
before_script: before_script:
- cs install scalafmt - cs install scalafmt
script: script:
@@ -15,6 +16,7 @@ check_format:
check_commits: check_commits:
stage: check stage: check
needs: []
image: node:lts-alpine image: node:lts-alpine
before_script: before_script:
- apk add git - apk add git
@@ -25,6 +27,7 @@ check_commits:
compile_jvm: compile_jvm:
stage: compile stage: compile
needs: []
script: script:
- scala compile --platform jvm -Werror . - scala compile --platform jvm -Werror .
artifacts: artifacts:
@@ -34,7 +37,6 @@ compile_jvm:
test_jvm: test_jvm:
stage: test stage: test
dependencies: needs: [ compile_jvm ]
- compile_jvm
script: script:
- scala test --platform jvm . - scala test --platform jvm .