ci: Update .deepsource.toml #7
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build with Maven | |
run: mvn clean clover:setup test clover:aggregate clover:clover | |
- name: DeepSource Test Coverage Action | |
uses: deepsourcelabs/test-coverage-action@v1.0.0 | |
with: | |
# Programming language shortcode for which coverage is reported. Allowed values are — python, go | |
key: java | |
# Path to the coverage data file. e.g. ./coverage.xml | |
coverage-file: ./target/site/clover/clover.xml | |
# DeepSource DSN of this repository. It is available under Settings → Reporting tab of the repository page on DeepSource. | |
dsn: ${{ secrets.DEEPSOURCE_DSN }} | |
# Should the CI build fail if there is an error while uploading the report to DeepSource? Allowed values are — true, false | |
fail-ci-on-error: true |