Skip to content

Merge pull request #24 from IlyaLisov/#18 #45

Merge pull request #24 from IlyaLisov/#18

Merge pull request #24 from IlyaLisov/#18 #45

Workflow file for this run

name: codecov
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
codecov:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-
- run: |
mvn clean install
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./target/site/jacoco/jacoco.xml
fail_ci_if_error: false