Commit graph

8 commits

Author SHA1 Message Date
Rob Taylor 5aad522047 test: Add apt-sources integration tests
Tests cover:
- apt_sources_empty: Empty apt-sources has no effect (backward compat)
- apt_sources_inline_deb: Inline deb line with GitHub CLI repo
- apt_sources_cached: Cache round-trip for apt-sources packages
- apt_sources_bad_key_url: Invalid key URL returns error
- apt_sources_bad_format: Missing pipe separator returns error
- apt_sources_conflicting_source: Pre-existing conflicting source is removed
- apt_sources_force_update: Forces apt update even when lists are fresh

Co-developed-by: Claude Code v2.1.58 (claude-opus-4-6)
2026-03-11 02:50:25 +00:00
Rob Taylor f61e6b0c95 test: Add in-repo action integration tests
Add comprehensive integration test workflow that exercises the action's
install, cache, and restore paths with real packages on GitHub Actions
runners. Tests cover:

- Basic install and cache round-trip (xdot, libxml2-dev)
- Cache hit and version pinning verification
- Custom apt repository support (ppa:savoury1/ffmpeg6)
- Multiple package installs with dependencies
- Support for apt-mark'd packages and version-pinned packages
- ARM64 architecture support
- Package with conflicts (default-jdk replacing default-jre-headless)
- Invalid inputs (bad version, empty packages, bad repo)
- dpkg registration verification after cache restore

Co-developed-by: Claude Code v2.1.58 (claude-opus-4-6)
2026-03-11 02:45:28 +00:00
Andrew Walsh 6460a33c29
First version of a Golang version for APT package querying. (#118) (#119)
* Pull dev upstream to staging. (#112)

* Use awk to enclose filename in single quotes tar #99

* Add null field separator so filenames don't get broken up.

* Move upload logs up in the action sequence so it captures data before it gets deleted.

* Fix awk (#109)

---------

Co-authored-by: sn-o-w <cristian.silaghi@mozilla.ro>

* Fix awk delimiter.

Pull in fix by @sn-o-w in d0ee83b497 mentioned in issue #99

* Swap out Bash based APT query logic for Golang version. (#117)

* First version of a Golang version of command handling in general. (#118)

---------

Co-authored-by: sn-o-w <cristian.silaghi@mozilla.ro>
2023-12-22 10:28:03 -08:00
Andrew Walsh 276bbdc9f3
Update issue templates 2022-11-23 22:13:12 -08:00
awalsh128 b61cf9a6f1 Copy from staging to dev. 2022-07-19 20:42:48 -07:00
awalsh128 1372e9e2e7 Publish push event for master too. 2021-10-17 13:06:35 -07:00
awalsh128 7c507492e5 Update publish conditions. 2021-10-16 10:19:02 -07:00
awalsh128 b07ee5cce8 Initial commit. 2021-10-13 21:11:27 -07:00