openwrt / openwrt/actions-shared-workflows
CI: package tests loop over every package artifact in /ci
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 12
- Forks
- 29
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 2
Description
Package tests loop over every package artifact in /ci. This results in packages built only as dependencies of the selected package also being tested. As a result, a PR touching one package can fail because of a pre-existing test failure in an unrelated dependency package.
E.g. openwrt/packages#29784 tests fail on cgi-io, due to luci-app-openthread depending on luci-base, which in turn depends on cgi-io. I've submitted an override for the generic version check in cgi-io as a quick workaround: openwrt/packages#29786, but the real fix should happen in this repo. CI should not fail on failings tests in packages that are not touched in the PR itself.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the CI package-test workflow and how it enumerates package artifacts in /ci. Reproduce the dependency-package case described in the issue, then verify that tests run only for packages touched by the PR and that failures in unrelated dependency packages no longer fail CI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100