From fefa6b875bf2b6bc90ae6566882366a13fddedf7 Mon Sep 17 00:00:00 2001 From: hongyoung Date: Sat, 6 Jan 2024 08:16:36 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20codecov=20=EC=B6=94=EA=B0=80=ED=95=98?= =?UTF-8?q?=EC=97=AC=20=EC=BB=A4=EB=B2=84=EB=A6=AC=EC=A7=80=20=EC=B8=A1?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 5 +++++ .github/workflows/codecov.yml | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 .github/workflows/codecov.yml diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 435a7a6d..412b0999 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -40,6 +40,11 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + file: ./build/jacoco/index.xml + # gradlew 파일 권한 지정 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 00000000..4053963f --- /dev/null +++ b/.github/workflows/codecov.yml @@ -0,0 +1,9 @@ +codecov: + require_ci_to_pass: yes + +comment: + layout: "reach,diff,flags,files,footer" + behavior: default + require_changes: false + branches: + - main \ No newline at end of file