resource version.txt #26
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: Codecov | |
on: [push, pull_request] | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
cache: 'maven' | |
- name: Install dependencies | |
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
- name: Run tests and collect coverage | |
run: mvn -B test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 |