From b60f3d7f7d057ae847edfe5c8ef242a68af60381 Mon Sep 17 00:00:00 2001 From: Sumanjit Sengupta Date: Tue, 9 Jan 2024 00:33:02 +0530 Subject: [PATCH] added codacy coverage resporter --- .github/workflows/coverage-reporter.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/coverage-reporter.yml diff --git a/.github/workflows/coverage-reporter.yml b/.github/workflows/coverage-reporter.yml new file mode 100644 index 0000000..c4fd2e0 --- /dev/null +++ b/.github/workflows/coverage-reporter.yml @@ -0,0 +1,19 @@ +name: Coverage Reporter + +on: + push: + branches: main + +jobs: + codacy-coverage-reporter: + name: Codacy Coverage Reporter + runs-on: ubuntu-latest + steps: + - name: Checkout Pull Request + uses: actions/checkout@v3 + + - name: Run Codacy Coverage Reporter + uses: codacy/codacy-coverage-reporter-action@v1 + with: + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + coverage-reports: ./__tests__/coverage/lcov.info