Bump codecov/codecov-action from 1.3.1 to 4.4.1 #184
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: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
cache: "gradle" | |
# - name: Cache Gradle packages | |
# uses: actions/[email protected] | |
# with: | |
# path: | | |
# ~/.gradle/caches | |
# ~/.gradle/wrapper | |
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
# restore-keys: | | |
# ${{ runner.os }}-gradle- | |
- name: Create test classes for testing | |
run: ./gradlew jvmTestClasses | |
# - name: Test | |
# run: ./gradlew jvmTest | |
- name: Test | |
run: ./gradlew koverXmlReport | |
- name: Upload coverage | |
uses: codecov/[email protected] | |
# - name: Cleanup Gradle Cache | |
# run: | | |
# rm -f ~/.gradle/caches/modules-2/modules-2.lock | |
# rm -f ~/.gradle/caches/modules-2/gc.properties |