Skip to content

Commit

Permalink
Create coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mghosh00 authored Jan 22, 2024
1 parent 9b0e726 commit dbf19db
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Workflow for Codecov example-java-gradle
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'oracle'
java-version: 18
- name: Install dependencies, run tests, and collect coverage
run: gradle build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit dbf19db

Please sign in to comment.