Skip to content
Snippets Groups Projects
Commit 80736886 authored by Matt Bovel's avatar Matt Bovel
Browse files

Setup CI

parent 9dc9a2cb
No related branches found
No related tags found
No related merge requests found
image: "sbtscala/scala-sbt:graalvm-ce-22.3.0-b2-java17_1.8.2_3.2.2"
variables:
SBT_VERSION: "1.7.1"
SBT_OPTS: "-Dsbt.global.base=sbt-cache/.sbtboot -Dsbt.boot.directory=sbt-cache/.boot -Dsbt.ivy.home=sbt-cache/.ivy"
cache:
key: "$CI_BUILD_REF_NAME" # contains either the branch or the tag, so it's caching per branch
untracked: true
paths:
- "sbt-cache/.ivy.cache"
- "sbt-cache/.boot"
- "sbt-cache/.sbtboot"
- "sbt-cache/target"
stages:
- test
test:
timeout: 10m
tags:
- cs320
script:
- sbt "runMain lecture1.javaThreads"
......@@ -59,7 +59,7 @@ You can try [`01-sumList.worksheet.sc`](src/main/scala/ex01/01-sumList.worksheet
Try to change the code and you should see the results automatically updating!
### Format code
### Format code
This project uses [scalafmt](https://scalameta.org/scalafmt/) to format code.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment