Cleanup logging a bit #1295
Workflow file for this run
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: Java CI with Maven | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
runs-on: [windows-latest, macos-latest, ubuntu-latest] | |
java-version: [11, 17] | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'adopt' | |
architecture: x64 | |
cache: 'maven' | |
- name: Tests with Coveralls coverage report | |
run: mvn clean test jacoco:report coveralls:report -DdryRun=true | |
- name: Coveralls coverage report | |
uses: MikeEdgar/github-action@raw_coverage_file | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-file: ./target/coveralls.json | |
coverage-format: raw | |
- name: Deploy to GitHub pages | |
if: ${{ github.ref == 'refs/heads/tamu-main' && matrix.runs-on == 'ubuntu-latest' && matrix.java-version == '17' }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: target/generated-docs | |
branch: gh-pages | |
clean: true | |
single-commit: true |