Skip to content

Merge pull request #62 from toolisticon/dependabot/maven/org.apache.m… #184

Merge pull request #62 from toolisticon/dependabot/maven/org.apache.m…

Merge pull request #62 from toolisticon/dependabot/maven/org.apache.m… #184

Workflow file for this run

name: jacoco
on:
push:
branches:
- '*'
- '**/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Set up JDK 9
uses: actions/setup-java@v1
with:
java-version: 9
- name: Cache .m2
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven
- name: Prepare mvnw
run: chmod +x ./mvnw
- name: Build
run: ./mvnw verify jacoco:report-aggregate -B -q
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
files: fluapigen-processor/target/site/jacoco/jacoco.xml