Update tester.yml #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |