-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (31 loc) · 933 Bytes
/
it.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
name: integration-test
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
maven: [ '3.6.3', '3.9.2' ]
name: maven ${{ matrix.maven }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Set up JDK 11 and maven for running tests
uses: s4u/[email protected]
with:
java-version: 11
distribution: 'temurin'
maven-version: ${{ matrix.maven }}
- name: Install chromium
run: 'sudo apt-get install chromium-chromedriver -y'
- name: Prepare all poms
# Integration tests need the agent jar and all classes to be compiled
# and installed locally.
run: 'mvn install -DskipTests'
- name: Run the integration tests
run: 'mvn failsafe:integration-test failsafe:verify -pl main'