Change deploy workflow to run on PRs only with [push image] message #48
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: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
codecov: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: jacoco store coverage report in xml file | |
run: ./gradlew test jacocoTestReport | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
files: build/reports/jacoco/test/jacocoTestReport.xml |