Skip to content

Commit

Permalink
Create codecov-report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval-sentry authored Aug 14, 2024
1 parent ba98432 commit 922fbee
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/codecov-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# uploading codecov report

name: Android

on: [push, pull_request]

jobs:
test:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 15.0.2
- name: Build and run unit tests
run: |
./gradlew build jacocoTestReport
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

0 comments on commit 922fbee

Please sign in to comment.