mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-03-29 07:28:53 +00:00
Bring the integration tests from the separate cache-apt-pkgs-action-ci repo into this repo. Tests now use `uses: ./` to test the local checkout directly, eliminating the need for cross-repo dispatch events. Tests cover: - Core workflow: install, restore, cache invalidation, package ordering - Error handling: empty packages, missing packages, invalid version - Regression tests: issues #36, #37, #72, #76, #79, #81, #84, #89, #98, #106 - Special cases: multi-arch cache keys, virtual packages Changes from the external CI tests: - Uses `uses: ./` instead of `uses: awalsh128/cache-apt-pkgs-action@master` - Updated checkout to actions/checkout@v4 - Made version-list assertions resilient (grep for expected packages rather than exact string match, since dependency versions change with Ubuntu updates) - Improved error-case verification (check outcome != failure rather than only running on failure) - Triggers on push to master/dev/staging and on pull requests Co-developed-by: Claude Code v2.1.58 (claude-opus-4-6) |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| workflows | ||