Skip to content

Commit 667a61a

Browse files
Merge pull request #25 from trajinthan/codecov
Generate Codecoverage Report
2 parents a998831 + af3e3f2 commit 667a61a

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/workflows/build-master.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
name: Code Coverage JSON
4141
path: regex-ballerina/target/report/test_results.json
4242
if-no-files-found: ignore
43+
- name: Generate CodeCov Report
44+
uses: codecov/codecov-action@v1
4345
- name: Dispatch Dependent Module Builds
4446
if: github.event.action != 'stdlib-publish-snapshot'
4547
run: |

.github/workflows/pull-request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ jobs:
3535
name: Code Coverage JSON
3636
path: regex-ballerina/target/report/test_results.json
3737
if-no-files-found: ignore
38-
38+
- name: Generate Codecov Report
39+
if: github.event_name == 'pull_request'
40+
uses: codecov/codecov-action@v1
41+
3942
windows-build:
4043

4144
runs-on: windows-latest

codecov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
fixes:
2+
- "ballerina/regex/*/::regex-ballerina/"
3+
4+
ignore:
5+
- "**/tests"
6+
7+
codecov:
8+
require_ci_to_pass: no

0 commit comments

Comments
 (0)