Skip to content

Commit

Permalink
chore: jacoco report를 codecov에 업로드하는 github action 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JadeKim042386 committed Jun 25, 2024
1 parent 22b4c95 commit 1713d48
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Workflow for Codecov
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@v1
with:
java-version: 17

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash

- name: Build with Gradle
run: ./gradlew build
shell: bash

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: '**/build/jacocoHtml/index.html'

0 comments on commit 1713d48

Please sign in to comment.