Skip to content

Update to Play 2.9, fixed integration tests #5

Update to Play 2.9, fixed integration tests

Update to Play 2.9, fixed integration tests #5

Workflow file for this run

name: Build and Test
on:
pull_request:
push:
branches:
- master
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-22.04
timeout-minutes: 15
env:
SBT_OPTS: -Dfile.encoding=UTF-8 -Duser.timezone=UTC
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Cache Coursier
uses: coursier/[email protected]
- name: Setup JDK
uses: coursier/[email protected]
with:
jvm: adoptium:1.17
- name: Build
timeout-minutes: 10
run: |
[[ "$GITHUB_REF" == "refs/heads/master" ]] && SBT_CMD="+coverageOn +test +coverageOff +publish" || SBT_CMD="+coverage +test"
sbt --client "+clean; +compile; +Test/compile; $SBT_CMD; +coverageReport; +coveralls;"

Check failure on line 37 in .github/workflows/build-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
}