← Back to issue list

ci: make workflows conditional, add docs-only spread tests

View original Github issue

Metadata

Project
snapcraft
Number
#6245
Type
pull request
State
merged
Author
medubelko
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #6245 via commit 40af3e5b5, adding path-conditional workflows and a docs-only Google-backed Spread test workflow.

Resolution: closed resolved

Reason: PR #6245 was approved and merged as commit 40af3e5b5. It conditions QA, CI, and source Spread tests on source changes while adding a docs-triggered Spread workflow.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Make workflows and jobs conditional: - `QA / Test` runs if source files change. - `CI` runs if source files change. - The `Spread tests for source` (renamed) workflow calls the test/** Spread tests if source files change. Add a `Spread tests for docs` workflow that runs the doc tests on the Google backend if docs files change. --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #6245 via commit 40af3e5b5, adding path-conditional workflows and a docs-only Google-backed Spread test workflow.
stealth/space-bunny-alpha — closed resolved Merged as 40af3e5b5: path-gated QA, CI, and source Spread workflows and added a docs-only Spread workflow for documentation changes.
stealth/space-bunny-alpha — closed resolved Merged in #6245 via commit 40af3e5b5, adding source-change filters to CI jobs and a separate docs-only Spread test workflow.
stealth/space-bunny-alpha — closed resolved Merged in #6245 via commit 40af3e5b5, adding source-change conditions to CI jobs and a separate docs-only Spread test workflow.
qwen/qwen3.6-35b-a3b — — Merged. Configured CI workflows to run conditionally based on changed files, separating source and documentation pipelines. Added a docs-only spread test workflow. Approved and merged.
qwen3.6-35b-a3b-mtp-q6 — — Merged changes making CI workflows conditional on file changes. Source workflows now trigger only on code updates, while a new docs-only spread test workflow runs on documentation changes. All checks passed before merge.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1206 ci: make workflows conditional, add docs-only spread tests rockcraft merged Merged in canonical/rockcraft#1206 at commit 3624f64c, adding path-conditional CI and separate source and docs-only Spread workflows.
85%
#1205 ci: make workflows conditional, add docs-only spread tests rockcraft closed Superseded by merged PR canonical/rockcraft#1206 (commit 3624f64c), which implemented conditional CI and split source and docs Spread tests.
80%
#2688 ci: make workflows conditional on affected files charmcraft merged PR #2688 merged as commit a32937a6: added paths-ignore conditions so QA/Test, Check policy, Experimental, Tests and Spread workflows only run on affected files; Split Spread into 'Spread tests for source' and docs.
77%
#2126 ci(docs): spread test documentation charmcraft merged Merged PR #2126 in commit f1b73a6e, adding CI for documentation spread tests and adapting spread tasks for Google-hosted runners.
72%