Skip to content

Belated changes for KCL v3 migration #31

Belated changes for KCL v3 migration

Belated changes for KCL v3 migration #31

Workflow file for this run

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
steps:
- uses: aws-actions/configure-aws-credentials@v4 # Needed for Kinesis read access for the tests!
with:
# The AWS role is configured as a GitHub Repo secret, the value is the cloudformation-output of the
# 'ContentApiFirehoseClientTesting' cloudformation stack.
role-to-assume: ${{ secrets.AWS_ROLE_FOR_TESTS }}
aws-region: eu-west-1
- name: Checkout
uses: actions/checkout@v4
- uses: guardian/setup-scala@v1
- name: Build and Test
run: sbt -v +test
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "test-results/**/TEST-*.xml"
if: always()