-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (35 loc) · 885 Bytes
/
Copy pathintegration-tests.yml
File metadata and controls
41 lines (35 loc) · 885 Bytes
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
name: Integration Tests
on:
push:
branches:
- '**'
paths:
- 'server/**'
- '.github/workflows/integration-tests.yml'
workflow_dispatch:
inputs:
ref:
description: 'Git ref to test'
required: false
default: ''
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref || github.ref }}
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run integration tests
run: mvn test -f server/pom.xml -P integration-tests
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: server/target/surefire-reports/