Merge pull request #435 from guardian/fix-showcase-check #66
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 | |
permissions: | |
id-token: write | |
contents: read | |
checks: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: sbt/[email protected] | |
- name: Test | |
env: | |
CAPI_TEST_KEY: ${{ secrets.CAPI_TEST_KEY }} | |
JAVA_OPTS: -XX:+UseCompressedOops | |
run: sbt test | |
- uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() #runs even if there is a test failure | |
with: | |
files: test-results/**/TEST-*.xml |