Skip to content

Commit

Permalink
Setup CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
jultty authored and jultty committed Nov 12, 2023
1 parent fe65187 commit b3d079f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 9 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build & Test

on: push

jobs:
all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
- name: Compile
run: sbt compile
- name: Package
run: sbt package
- name: Test
run: sbt test
- name: Run
run: sbt run
9 changes: 0 additions & 9 deletions src/test/scala/MySuite.scala

This file was deleted.

8 changes: 8 additions & 0 deletions src/test/scala/Suite.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// see https://scalameta.org/munit/docs/getting-started.html
class Suite extends munit.FunSuite {
test("test engine baseline") {
val obtained = 42
val expected = 42
assertEquals(obtained, expected)
}
}

0 comments on commit b3d079f

Please sign in to comment.