diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 0eb7af4c4..bc18af429 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -29,25 +29,23 @@ jobs: with: hide-comment: false coverage-summary-path: ./coverage/coverage-summary.json - test-code-climate: - name: Upload unit test results to Code Climate + + run-tests-and-publish-coverage: + name: Upload unit test results to qlty runs-on: ubuntu-latest - + steps: - uses: actions/checkout@v3 - + - name: Setup uses: ./.github/actions/setup - + - name: Run tests run: | yarn test --coverage --coverageReporters lcov - - - name: Upload coverage to Code Climate - uses: paambaati/codeclimate-action@v9.0.0 - env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + + - name: Upload coverage to qlty + uses: qltysh/qlty-action/coverage@v1 with: - coverageCommand: yarn test --coverage --coverageReporters lcov - coverageLocations: | - ${{github.workspace}}/coverage/lcov.info:lcov \ No newline at end of file + token: ${{ secrets.QLTY_COVERAGE_TOKEN }} + files: coverage/lcov.info