Skip to content

ci: update TICS workflow to include server charm coverage#1008

Merged
rene-oromtz merged 2 commits intomainfrom
feat/update-tics-coverage
Apr 16, 2026
Merged

ci: update TICS workflow to include server charm coverage#1008
rene-oromtz merged 2 commits intomainfrom
feat/update-tics-coverage

Conversation

@rene-oromtz
Copy link
Copy Markdown
Contributor

@rene-oromtz rene-oromtz commented Apr 8, 2026

Description

This add the missing server charm coverage to TICS. #1004 moved tests to be executed with uv so the coverage can now be gathered following the same pattern as the other components.

Note

Pending discussion on TICSISSUES-165 as seems a configuration needs to be made on TICS side

After discussion in the above issue, workflow is ready to go as per latest run.
Charm also needs to include some imports from charm/lib until we migrate to dpcharmlibs

Resolved issues

NA

Documentation

NA

Web service API changes

Tests

CI run: https://github.com/canonical/testflinger/actions/runs/24204721717/job/70657437993

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the TiCS CI workflow to collect and include code coverage for the server charm component, aligning it with the existing uv/tox-based coverage collection used for other parts of the repository.

Changes:

  • Add workflow steps to run the server charm unit tests under server/charm and generate coverage.xml.
  • Export and install server charm dependencies (same pattern used for other components) before running TiCS.
  • Include the charm’s coverage.xml in the combined coverage artifacts passed into TiCS analysis.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rene-oromtz rene-oromtz marked this pull request as ready for review April 13, 2026 14:36
Comment thread .github/workflows/tics.yml
Comment thread .github/workflows/tics.yml
Comment thread .github/workflows/tics.yml
Comment thread .github/workflows/tics.yml
@rene-oromtz rene-oromtz merged commit 224cfa8 into main Apr 16, 2026
3 of 4 checks passed
@rene-oromtz rene-oromtz deleted the feat/update-tics-coverage branch April 16, 2026 16:11
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.

3 participants