← Back to issue list

tests: enable provider spread tests for core22

View original Github issue

Metadata

Project
snapcraft
Number
#3877
Type
pull request
State
merged
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Merged updates enabling provider spread tests for core22. The test directory was renamed from build-providers to providers, and legacy tests were relocated to a legacy subdirectory. Approved and merged following successful CI validation.

Suggested action:

No scores available.

Issue body

- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [X] Have you successfully run `make lint`? - [X] Have you successfully run `pytest tests/unit`? ----- Enable spread tests for core22 to test usage of `providers`. This PR is a prerequisite to https://github.com/snapcore/snapcraft/pull/3875, which will add more spread tests. I changed the spread test folder from `build-providers` (legacy name) to `providers` (new name), then I moved the legacy-only tests into a subdir called `legacy`. (CRAFT-1266)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged updates enabling provider spread tests for core22. The test directory was renamed from build-providers to providers, and legacy tests were relocated to a legacy subdirectory. Approved and merged following successful CI validation.
qwen3.6-35b-a3b-mtp-q6 Merged. Enabled core22 provider spread tests by renaming the test directory from build-providers to providers and moving legacy tests to a legacy subdirectory. Execution verified via GitHub logs with no coverage impact.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#6202 test(spread): create core26 spread test suite snapcraft merged Merged the core26 spread test suite, adding CI jobs and generalizing tests for core22, 24, and 26 across 419 files. Approved by two reviewers and passed most CI checks prior to integration.
77%
#3731 tests: fix content provider snap not found for core22 snapcraft merged Merged following reviewer approval and successful CI. Adjusted spread test expectations to match core22's distinct error message for missing content provider snaps. Modified three files, increasing test coverage by 0.08%.
76%
#1521 tests(spread): fix multipass provider for 22.04 charmcraft merged Merged a fix for the multipass provider in spread tests targeting Ubuntu 22.04. The one-file change (+15/-7) was approved by two reviewers and successfully resolves test compatibility issues for the release.
75%
#4668 chore(spread): core22 provider setup cleanup snapcraft merged Merged cleanup of the core22 provider setup in spread configuration. Fixes the cleanup process to target the correct provider. Approved by two reviewers, passed CI, and achieved full test coverage on modified lines across 12 files.
73%
#1114 test: enable pro spread tests craft-application merged Merged. Updates the craft-providers dependency to >=3.7.1 and re-enables Ubuntu Pro spread tests. Approved by two reviewers and integrated after passing CI checks.
73%
#4056 spread: core24 testing infra snapcraft merged Merged after receiving two approvals and passing CI checks. Implements core24 testing infrastructure for spread, changing two files with a net addition of 16 lines. Code coverage remained unchanged.
72%
#3026 spread tests: add core20 and cleanup systems snapcraft merged Merged. Added core20 support to spread tests, cleaned up system selection logic to exclusively install snaps, and introduced a dedicated environment for unit tests. A reported test failure was promptly fixed by the author before approval and merge.
72%
#3714 spread: enable core22 snapcraft merged Merged into snapcraft/7.0 after reviewer approval and passing CI checks. The change enables core22 in the spread configuration across 36 files (+112/-58 lines). Code coverage remained unchanged upon merge.
70%
#2631 spread tests: enable LXD build provider tests snapcraft merged Merged into master. Enabled LXD build provider tests by relocating setup to the early prepare phase to reduce overhead and consolidating declarations from task.yaml to spread.yaml. Approved, passed CI, and increased coverage by 0.01%.
70%