-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 1.3 KB
/
check-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Check PR
on:
workflow_dispatch:
pull_request:
permissions: {}
jobs:
code-quality:
name: Code quality
uses: ./.github/workflows/code-quality.yml
unit-tests:
name: Run tests
uses: ./.github/workflows/run-unit-tests.yml
deploy:
name: Preview
uses: ./.github/workflows/deploy-branch.yml
permissions:
id-token: write
contents: read
pact-tests:
name: Run Pact tests
uses: ./.github/workflows/run-pact-tests.yml
secrets:
pact-broker-host: ${{ secrets.PACT_BROKER_HOST }}
pact-broker-username: ${{ secrets.PACT_BROKER_USERNAME }}
pact-broker-password: ${{ secrets.PACT_BROKER_PASSWORD }}
integration-tests:
name: Run tests
needs: deploy
uses: ./.github/workflows/run-integration-tests.yml
permissions:
id-token: write
contents: read
with:
aws-region: ${{ needs.deploy.outputs.aws-region }}
stack-name: ${{ needs.deploy.outputs.stack-name }}
stack-outputs: ${{ needs.deploy.outputs.stack-outputs }}
secrets:
aws_role_arn: ${{ secrets.GH_ACTIONS_ROLE_ARN }}
api-gateway-api-key: ${{ secrets.API_KEY_CRI_DEV }}
ipv-core-stub-basic-auth-user: ${{ secrets.IPV_CORE_STUB_BASIC_AUTH_USER }}
ipv-core-stub-basic-auth-pwd: ${{ secrets.IPV_CORE_STUB_BASIC_AUTH_PASSWORD }}