Skip to content

Commit 922fbee

Browse files
authored
Create codecov-report.yml
1 parent ba98432 commit 922fbee

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/codecov-report.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# uploading codecov report
2+
3+
name: Android
4+
5+
on: [push, pull_request]
6+
7+
jobs:
8+
test:
9+
runs-on: macOS-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-java@v2
14+
with:
15+
distribution: 'adopt'
16+
java-version: 15.0.2
17+
- name: Build and run unit tests
18+
run: |
19+
./gradlew build jacocoTestReport
20+
- name: Upload coverage reports to Codecov
21+
uses: codecov/codecov-action@v4
22+
with:
23+
token: ${{ secrets.CODECOV_TOKEN }}
24+
fail_ci_if_error: true
25+
verbose: true

0 commit comments

Comments
 (0)