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