Skip to content

73

73 #88

Workflow file for this run

---
name: codecov
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
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
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./target/site/jacoco/jacoco.xml
# @todo #41 Set to true after hub impl
# While it's not quite clear what our system will look like,
# I suggest we close our eyes a bit on code coverage.
# see: https://www.youtube.com/watch?v=3QT7jaoOa9w
fail_ci_if_error: false