From 3ecd94ff4cbd0ee669d8fc845fe9bdbc3fd60651 Mon Sep 17 00:00:00 2001 From: "jeremy.baker@northwestern.edu" Date: Wed, 13 Dec 2023 11:52:50 -0600 Subject: [PATCH] Infrastructure: Use Actions to run tests --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..256a86b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: build-and-test + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-java@v3 + with: + distribution: 'liberica' + java-version: '17.0' + java-package: jdk+fx + + - name: Build and Test + run: | + sbt -v update compile + sbt -v scalastyle coffeelint test