Repository navigation
Streamline tests and coverage in CI - #50
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The test suite takes seconds, while the CI jobs spend most of their time installing the full development dependency set. Coverage also repeats the Ubuntu tests in a separate job. The latest main run spent 36 of 55 Windows test-job seconds installing dependencies, and the separate Coverage job used another 22 seconds.
Change
requirements-test.txtfor runtime, pytest, and coverage dependencies. Tests install only that file, and its cache key includes both requirement files that affect the install.coverage-reportartifact. Remove the duplicate Coverage workflow and its stale badge and release-checklist entry..pytest_cacheas a test-result artifact.pyproject.tomlin the code-change filter so package metadata changes trigger tests.Validation
actionlint .github/workflows/test.yml .github/workflows/lint.yml .github/workflows/security.ymlpython -m pytest -v --tb=short(73 passed)python -m pytest -v --tb=short --cov=a8_validate --cov-report=xml --cov-report=html --cov-report=term(73 passed; HTML/XML reports generated)pre-commit run --all-files(all hooks passed)pip check(no broken requirements)No branch protection or repository ruleset requires the removed Coverage status.