Skip to content

feat: Implement openapi client code generator | NPG-6475 #636

feat: Implement openapi client code generator | NPG-6475

feat: Implement openapi client code generator | NPG-6475 #636

Workflow file for this run

name: CI Test
on:
pull_request:
branches:
- main
- fix-earthly-integration-testing
permissions:
id-token: write
contents: read
packages: write
env:
AWS_REGION: eu-central-1
AWS_ROLE_ARN: arn:aws:iam::332405224602:role/ci
EARTHLY_VERSION: 0.7.6
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:
- name: Setup CI
uses: input-output-hk/catalyst-ci/actions/setup@master
with:
aws_role_arn: ${{ env.AWS_ROLE_ARN }}
aws_region: ${{ env.AWS_REGION }}
earthly_version: ${{ env.EARTHLY_VERSION }}
- name: Install Earthly
uses: earthly/actions/setup-earthly@v1
with:
version: v0.7.0
- uses: actions/checkout@v2
with:
fetch-depth: 0
- 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