feat: New schema for reviews backend. | NPG-000 #980
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 Test | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
id-token: write | |
contents: read | |
packages: write | |
env: | |
AWS_REGION: eu-central-1 | |
AWS_ROLE_ARN: arn:aws:iam::332405224602:role/ci | |
ECR_REGISTRY: 332405224602.dkr.ecr.eu-central-1.amazonaws.com | |
TAG: ${{ github.sha }} | |
jobs: | |
build: | |
name: CI Test | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup CI | |
uses: input-output-hk/catalyst-ci/actions/[email protected] | |
with: | |
aws_role_arn: ${{ env.AWS_ROLE_ARN }} | |
aws_region: ${{ env.AWS_REGION }} | |
earthly_runner_secret: ${{ secrets.EARTHLY_RUNNER_SECRET }} | |
- name: Login to ECR | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ env.ECR_REGISTRY }} | |
- name: Run tests | |
env: | |
EARTHLY_SECRETS: "IDEASCALE_EMAIL=${{ secrets.IDEASCALE_EMAIL }}, IDEASCALE_PASSWORD=${{ secrets.IDEASCALE_PASSWORD }}, IDEASCALE_API_TOKEN=${{ secrets.IDEASCALE_API_TOKEN }}" | |
run: | | |
earthly -P --buildkit-host "tcp://${{ secrets.EARTHLY_SATELLITE_ADDRESS }}:8372" +test-all |