Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 2, 2026

The Code Climate test reporter is deprecated and returning 404 errors, causing CI failures. Code Climate has transitioned to qlty as their successor platform.

Changes

  • Removed manual Code Climate test reporter installation and setup
  • Added qltysh/qlty-action/coverage@v1 GitHub Action for coverage submission
  • Updated secret reference from CC_TEST_REPORTER_ID to QLTY_COVERAGE_TOKEN
# Before: Manual binary download and execution
- name: Setup Code Climate test-reporter
  run: |
    curl -L https://codeclimate.com/downloads/test-reporter/... > ./cc-test-reporter
    ./cc-test-reporter before-build

# After: Official GitHub Action
- name: Upload code coverage to qlty
  uses: qltysh/qlty-action/coverage@v1
  with:
    token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
    files: coverage/.resultset.json
    format: simplecov

Setup Required

Repository maintainer needs to:

  1. Create account at https://qlty.sh and connect repository
  2. Generate coverage token from project settings
  3. Add QLTY_COVERAGE_TOKEN secret to repository (Settings → Secrets → Actions)

No changes to test code or SimpleCov configuration required. Coverage upload runs only on main branch pushes.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.qlty.sh
    • Triggering command: /usr/bin/curl curl -s REDACTED (dns block)
  • https://api.github.com/repos/qltysh/qlty/releases/latest
    • Triggering command: /usr/bin/curl curl -sL REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

The current CI workflow is failing due to the Code Climate test reporter being outdated. Since Code Climate has transitioned to qlty, the workflow should be updated to utilize the new qlty test reporter instead of the deprecated Code Climate test reporter.

The update involves reviewing and modifying the affected workflow file, located in .github/workflows/build.yml. Specifically, replace the usage of Code Climate's test reporter with the corresponding commands for qlty. If qlty requires any additional configuration or setup, ensure that these steps are implemented or documented within the workflow.

Once the workflow changes are made, verify that the CI build and the qlty test reporter are functioning as expected. This may include triggering a new build and ensuring coverage reports are correctly uploaded.

This pull request was created from Copilot chat.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Update CI workflow to use qlty test reporter Replace deprecated Code Climate test reporter with qlty Jan 2, 2026
Copilot AI requested a review from ElMassimo January 2, 2026 17:01
@ElMassimo ElMassimo marked this pull request as ready for review January 2, 2026 17:03
@ElMassimo ElMassimo merged commit 7e62cdc into main Jan 2, 2026
5 of 6 checks passed
@ElMassimo ElMassimo deleted the copilot/update-ci-workflow-for-qlty branch January 2, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants