Skip to content

Commit 6d8424c

Browse files
authored
Create main.yml
1 parent 9dc133e commit 6d8424c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
- name: DeepSource Test Coverage Action
2+
# You may pin to the exact commit or the version.
3+
# uses: DeepSourceCorp/test-coverage-action@e02a039827236fa21a95866e7cd0b1c52ca61e76
4+
uses: DeepSourceCorp/test-coverage-action@v1.1.2
5+
with:
6+
# Programming language shortcode for which coverage is reported. Allowed values are — python, go, javascript, ruby, java, kotlin, scala, php, csharp, cxx, rust, swift
7+
key:
8+
# Path to the coverage data file. e.g. ./coverage.xml
9+
coverage-file:
10+
# DeepSource DSN of this repository. It is available under Settings → Reporting tab of the repository page on DeepSource.
11+
dsn:
12+
# Should the CI build fail if there is an error while uploading the report to DeepSource? Allowed values are — true, false
13+
fail-ci-on-error: # optional
14+
# HEAD commit for which the Test Coverage report is being sent
15+
commit-sha: # optional, default is ${{ github.event.pull_request.head.sha }}
16+

0 commit comments

Comments
 (0)