Conversation
e42d13a to
8c531eb
Compare
Replace the Travis config with a tests workflow on GitHub Actions: style job (black + flake8 + pep8-naming) and a Python 3.10-3.14 test matrix, with coverage uploaded via codecov-action. README badges updated to point at the new workflow and the main branch. Third-party actions are pinned by full commit SHA (with a `# vN.M.P` comment noting the tag at pin time) for supply-chain hardening: - actions/checkout v6.0.2 - actions/setup-python v6.2.0 - codecov/codecov-action v6.0.1 The checkout step uses fetch-depth: 0 so the tests can run git blame against historical SHAs in the repo's own history. Also drops an unused `import glob` in contrib/main.py so flake8 passes. Assisted-by: Claude Opus 4.7 <noreply@anthropic.com>
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.
Summary
.travis.ymlwith.github/workflows/tests.yml: style job (black + flake8 + pep8-naming) and a Python 3.10–3.14 test matrix, coverage uploaded via codecov-action.# vN.M.Pcomment noting the tag at pin time:actions/checkoutv6.0.2actions/setup-pythonv6.2.0codecov/codecov-actionv6.0.1fetch-depth: 0to the test job's checkout — existing tests rungit blameagainst historical SHAs and need full history.import globfromcontrib/main.pyso flake8 passes.mainbranch.Test plan
style(black + flake8 + pep8-naming) greenCODECOV_TOKENrepo secret; v6 will still attempt tokenless upload for public repos, but with rate limits)