Skip to content

Openclaw/configdrift/test coverage str and loader fallback#11

Merged
Coding-Dev-Tools merged 2 commits into
mainfrom
Openclaw/configdrift/test-coverage-str-and-loader-fallback
May 18, 2026
Merged

Openclaw/configdrift/test coverage str and loader fallback#11
Coding-Dev-Tools merged 2 commits into
mainfrom
Openclaw/configdrift/test-coverage-str-and-loader-fallback

Conversation

@Coding-Dev-Tools
Copy link
Copy Markdown
Owner

  • fix: correct GitHub Actions versions in CI and publish workflows
  • test: add coverage for Change.str() and loader fallback paths

DevForge Engineer added 2 commits May 18, 2026 03:15
actions/checkout@v6 and actions/setup-python@v6 do not exist in the
GitHub Marketplace — the latest stable versions are v4 and v5 respectively.
Using nonexistent tags causes all workflow runs to fail immediately with
resolution errors.

Fixed both ci.yml and publish.yml to use the correct stable versions.
- Test all three Change.__str__() variants (ADDED, REMOVED, CHANGED)
- Test loader fallback for unknown file extensions (.cfg, .cnf)
- Test .env fallback behavior with unparseable content
- Test YAML non-dict content raises ValueError
- Covers previously untested diff.py lines 30-35 and loader.py lines 23-32
@Coding-Dev-Tools Coding-Dev-Tools merged commit cc9d3c2 into main May 18, 2026
3 checks passed
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