Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: CI

on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize

jobs:
validate:
name: Check code formatting
runs-on: ubuntu-22.04

steps:
- id: checkout
name: Check out repo
uses: actions/checkout@v4

- id: scala-setup
name: Install Scala
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
cache: sbt

- id: linter
name: Lint code
run: sbt scalafmtCheckAll
tests:
name: Run tests
runs-on: ubuntu-22.04

steps:
- id: checkout
name: Check out repo
uses: actions/checkout@v4

- id: scala-setup
name: Install Scala
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
cache: sbt

- id: test
name: Run tests
run: sbt coverage "testOnly * -- -l test_configuration.IntegrationTestTag" coverageReport