Skip to content

Merge pull request #82 from volodya-lombrozo/renovate/org.apache.mave… #199

Merge pull request #82 from volodya-lombrozo/renovate/org.apache.mave…

Merge pull request #82 from volodya-lombrozo/renovate/org.apache.mave… #199

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Zulu OpenJDK 11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run tests with Maven
run: mvn -B test -P quality --file pom.xml\
- name: Upload to Codecov
uses: codecov/[email protected]
with:
file: ./target/site/jacoco/jacoco.xml
flags: unittests