diff --git a/.github/workflows/api-pull-request.yml b/.github/workflows/api-pull-request.yml index b30ff69b2bb1..c0881b822de3 100644 --- a/.github/workflows/api-pull-request.yml +++ b/.github/workflows/api-pull-request.yml @@ -2,7 +2,6 @@ name: API Pull Request permissions: contents: read # For actions/checkout - id-token: write # For Codecov OIDC on: pull_request: @@ -80,9 +79,10 @@ jobs: run: make test - name: Upload Coverage - uses: codecov/codecov-action@v5 - env: - PYTHON: ${{ matrix.python-version }} + if: matrix.python-version == '3.13' + uses: qltysh/qlty-action/coverage@v2 with: - env_vars: PYTHON - use_oidc: true + token: ${{ secrets.QLTY_COVERAGE_TOKEN }} + files: coverage.xml + tag: api + add-prefix: api/ diff --git a/.github/workflows/frontend-pull-request.yml b/.github/workflows/frontend-pull-request.yml index 9a202c776213..87e5131278d3 100644 --- a/.github/workflows/frontend-pull-request.yml +++ b/.github/workflows/frontend-pull-request.yml @@ -33,4 +33,12 @@ jobs: run: npm ci - name: Run unit tests - run: npm run test:unit -- --passWithNoTests + run: npm run test:unit -- --passWithNoTests --coverage + + - name: Upload Coverage + uses: qltysh/qlty-action/coverage@v2 + with: + token: ${{ secrets.QLTY_COVERAGE_TOKEN }} + files: coverage/lcov.info + tag: frontend + add-prefix: frontend/