Merge pull request #258 from guardian/update/non_aws #379
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
# triggering CI default branch improves caching | |
# see https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: 21 | |
cache: sbt | |
- name: Build and Test | |
run: sbt -v +test publishLocal | |
- name: Test Summary | |
uses: test-summary/action@v2 | |
with: | |
paths: "test-results/**/TEST-*.xml" | |
if: always() | |
- name: Integration Test | |
working-directory: ./play-v30/src/sbt-test/example/webapp | |
run: sbt -v compile |