fix(ci): clean up CI warnings and deprecations#91
Merged
Conversation
- Bump actions/cache v4->v5, upload-artifact v5->v7, setup-uv v4->v7, setup-task v1->v2 to resolve Node.js 20 deprecation warnings - Remove pointless --cov addopts from root pyproject.toml (ai_native_python package only has __init__.py metadata, causing "No data collected" warning) - Add --source-name and --source-version to syft SBOM command to suppress "no explicit name and version" warning - Redirect stderr on docker buildx inspect to suppress expected ERROR when multiplatform builder doesn't exist yet - Register missing pytest.mark.slow marker in template pyproject.toml - Fix argparse prog name in template main.py (showed "main.py" instead of package name in --version output) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…verage section Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ess-based tests Keep --cov and fail_under=80. Add --cov=hooks alongside ai_native_python. Suppress the "No data was collected" CoverageWarning since tests invoke hooks via cookiecutter subprocess calls that coverage can't track directly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…r false positives - Disable uv cache and ignore empty workdir in Windows Smoke Test (no checkout step due to NTFS-illegal template dir characters) - Skip JSON data lines in scan_workflow_logs.sh to avoid false positives from SBOM package names like "deprecated" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…oject name - Change --version output from "prog_name 0.0.0" to just "0.0.0" - Use "ci-test-project" instead of default "replace-me" for Windows smoke test generated project name Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <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
actions/cachev5,upload-artifactv7,setup-uvv7,setup-taskv2) across root and template workflows--covfrom root pytest addopts (theai_native_pythonpackage only has__init__.pymetadata)--source-nameand--source-versionto syft to suppress SBOM warningdocker buildx inspectto suppress expected ERROR when builder doesn't exist yetpytest.mark.slowmarker in templatepyproject.tomlargparseprog name in templatemain.pyso--versionshows the package name instead ofmain.pyTest plan
ERROR: no builder "multiplatform" foundin bootstrap stepPytestUnknownMarkWarningforslowmarker in Windows smoke testdocker run --rm zenable-io/replace-me:latest --versionshowsreplace_me 0.0.0instead ofmain.py 0.0.0🤖 Generated with Claude Code