build: remove docker requirement #2145
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: Build webtau | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 25 | |
strategy: | |
matrix: | |
java: [17] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Set up grahpviz | |
run: sudo apt-get install graphviz | |
- name: Build with xvfb enabled | |
uses: GabrielBB/xvfb-action@v1.0 | |
with: | |
run: mvn -B verify | |
- name: Upload failed test reports | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: failed-webtau-reports | |
path: "*/**/*-failed*.html" | |
retention-days: 2 | |
- name: Upload all reports | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: all-webtau-reports | |
path: "*/**/*webtau-report.html" | |
retention-days: 1 | |
- name: Upload CLI sanity test reports | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: failed-cli-sanity-test | |
path: "webtau-cli-testing/src/test/groovy/*failed*.html" | |
retention-days: 2 | |
- name: Upload reports testing reports | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: failed-reports-testing-tests | |
path: "webtau-report-testing/src/test/groovy/webtau.report.html" | |
retention-days: 2 |