-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (40 loc) · 1.09 KB
/
backend-api-pull-request.yml
File metadata and controls
44 lines (40 loc) · 1.09 KB
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
name: Backend API Pull Request
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- ready_for_review
- synchronize
paths:
- "backend-api/**"
- ".github/workflows/backend-api-pull-request.yml"
- ".github/workflows/workflow_pull-request.yml"
- ".github/workflows/job_ci-checks.yml"
- ".github/workflows/job_test-suite.yml"
- "!backend-api/**/*.md"
- "!backend-api/**/*.png"
workflow_dispatch:
permissions:
packages: read
jobs:
ci-checks:
name: CI checks
if: github.event.pull_request.draft == false
uses:
govuk-one-login/mobile-id-check-async/.github/workflows/jobs_ci-checks.yml@ci-checks/v1.0.0
with:
PRIVATE_PACKAGES_REQUIRED: true
WORKING_DIRECTORY: backend-api
run-test-suite:
name: Run test suite
needs: ci-checks
uses:
govuk-one-login/mobile-id-check-async/.github/workflows/jobs_test-suite.yml@test-suite/v1.0.0
with:
PRIVATE_PACKAGES_REQUIRED: true
RUN_PACT_TESTS: true
WORKING_DIRECTORY: backend-api
secrets: inherit