Skip to content

Run fewer CI steps for documentation and test changes - #44

Merged
Views2k merged 2 commits into
mainfrom
ci/faster-checks
Nov 18, 2026
Merged

Views2k merged 2 commits into
mainfrom
ci/faster-checks

Conversation

@Views2k

@Views2k Views2k commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Change

Verify EE took about 14 minutes for every pull request, including one that changed only the README. The job now reads the list of changed files after the author and message check:

  • Only Markdown files and images in docs/screenshots/: the job runs tools/check-repository.py and skips the tests and the installer. docs/API.md still runs the tests, because tests/test_remote_routes.py reads it.
  • Only tests, documentation, issue or pull request templates, or .github/dependabot.yml: the tests run and the installer steps are skipped, since none of these files is packaged.
  • Anything else, and every run started by hand: all steps run as before.

docs/WORKFLOW.md describes the rule.

Verification

The file rule was run locally in PowerShell against eight sample file lists (documentation only, docs/API.md, tests, source, Dependabot settings, a workflow, the requirements file and an unknown file under docs/) and gave the expected result for each. The workflow file parses, and tools/check-repository.py passed. This pull request changes the workflow, so its own EE Quality run takes the full path. The documentation-only path has not run on GitHub yet; the next documentation pull request will be its first run. No physical switch is involved.

Compatibility and data

No change to the API, stored data, supported devices or recovery behavior. CHANGELOG.md and docs/API.md are not changed.

Verify EE now looks at the changed files. A pull request that changes only Markdown files and README screenshots gets the author check and the repository check. The installer is built only when a changed file can affect the package. A run started by hand still runs every step.
@Views2k
Views2k enabled auto-merge (squash) November 18, 2026 03:37
@Views2k
Views2k merged commit d0515dc into main Nov 18, 2026
4 checks passed
@Views2k
Views2k deleted the ci/faster-checks branch November 18, 2026 04: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.

1 participant