forked from apache/ambari
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (43 loc) · 1.75 KB
/
tester.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
47
48
49
50
51
52
name: ambari-tester
on: push
jobs:
run_tests:
runs-on: ubuntu-latest
env:
TEMP: /tmp
TEMPDIR: /tmp
TMP: /tmp
TMPDIR: /tmp
OPENSSL_CONF: /dev/null
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Setup python3.9
uses: actions/[email protected]
with:
python-version: '3.9'
- name: Setup java & maven
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'
- name: Check ambari-metrics
id: check_ambari_metrics
uses: andstor/[email protected]
with:
files: 'ambari-metrics'
- name: Install distro
run: pip3 install distro
- name: Ambari Metrics Build (deps)
if: steps.check_ambari_metrics.outputs.files_exists == 'true'
working-directory: ambari-metrics
run: mvn -T 3C install -DskipSurefireTests -DskipPythonTests -Dmaven.test.failure.ignore -DskipTests -Dfindbugs.skip -Drat.skip -Dmaven.artifact.threads=10 -X
- name: Ambari Service Advisor
run: mvn -T 3C -am install -pl ambari-serviceadvisor -DskipSurefireTests -DskipPythonTests -Dmaven.test.failure.ignore -DskipTests -Dfindbugs.skip -Drat.skip -Dmaven.artifact.threads=10
- name: RAT
run: mvn org.apache.rat:apache-rat-plugin:check -Dmaven.artifact.threads=10
- name: Ambari WebUI Tests
run: mvn -X -T 2C -am test -pl ambari-web,ambari-admin -Dmaven.artifact.threads=10 -Drat.skip
- name: Ambari Agent Tests
run: mvn -X -Dmaven.test.failure.ignore=true -am test -pl ambari-agent -Dmaven.artifact.threads=10 -Drat.skip