-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1.39 KB
/
on-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
name: Run end-to-end-tests on pull-requests
on:
pull_request:
jobs:
run-end-to-end-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'maven'
- name: 'Build the code for soknadsmottaker (this PR)'
uses: navikt/archiving-infrastructure/.github/checkout-and-build@main
with:
component_name: soknadsmottaker
branch: ${GITHUB_HEAD_REF} # Branch of current PR
- name: 'Build the code for innsending-api'
uses: navikt/archiving-infrastructure/.github/checkout-and-build@main
with:
component_name: innsending-api
- name: 'Build the code for soknadsarkiverer'
uses: navikt/archiving-infrastructure/.github/checkout-and-build@main
with:
component_name: soknadsarkiverer
- name: 'Build the code for arkiv-mock'
uses: navikt/archiving-infrastructure/.github/checkout-and-build@main
with:
component_name: arkiv-mock
- name: 'Run the end-to-end-tests'
uses: navikt/archiving-infrastructure/.github/checkout-and-build@main
with:
component_name: archiving-infrastructure
sub_directory: system-tests
skip_tests: false
run_docker_build: false