-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 1001 Bytes
/
build.yaml
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
name: Build & run E2E tests
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
architecture: x64
- name: Run tests
id: build
shell: bash
env:
SUBDOMAINS: ${{ secrets.SUBDOMAINS }}
API_KEYS: ${{ secrets.API_KEYS }}
SITE_ID: ${{ secrets.SITE_ID }}
PRECONFIGURED_SUBDOMAIN: ${{ secrets.PRECONFIGURED_SUBDOMAIN }}
PRECONFIGURED_API_KEY: ${{ secrets.PRECONFIGURED_API_KEY }}
run: |
mvn install
cd tests
mvn --batch-mode --update-snapshots verify --fail-at-end
- name: Publish Test Report
if: success() || failure()
uses: scacap/action-surefire-report@v1