Replace dead Travis CI with GitHub Actions - #24
Merged
Merged
Conversation
Travis CI stopped building this repo when its free OSS tier shut down, leaving PRs unchecked. Add a GitHub Actions workflow that runs swift test with coverage (uploaded to Codecov) and SwiftLint. - Bump macOS platform minimum to 10.15: the async/await public API already requires it, and the os_log(_:log:_:_:) call in InternetArchive.swift needs 10.14+, which broke `swift test` under current toolchains - Exclude .build from SwiftLint so dependency checkouts aren't linted - Exempt reviewer_itemname from identifier_name (mirrors the IA API) - Update README badges (Travis -> Actions, codecov master -> main) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…-f9481b * origin/main: Surface archive.org HTTP-200 error bodies as apiError; assert on oversized q (#22)
The 171-char os_log format string from #22 is a StaticString, which can't be split across lines, so suppress the lint rule for that line. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #24 +/- ##
=======================================
Coverage ? 88.35%
=======================================
Files ? 13
Lines ? 541
Branches ? 0
=======================================
Hits ? 478
Misses ? 63
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jbuckner
added a commit
that referenced
this pull request
Jun 19, 2026
…ac33 * origin/main: Replace dead Travis CI with GitHub Actions (#24)
8 tasks
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 a GitHub Actions workflow.swift test --enable-code-coverageonmacos-latest, with lcov export uploaded to Codecov (tokenless; add aCODECOV_TOKENsecret if uploads get rate-limited).ghcr.io/realm/swiftlint:0.63.3container on ubuntu.os_log(_:log:_:_:)overload requires 10.14, which madeswift testfail to compile on current toolchains..build/(dependency checkouts were being linted) and exemptreviewer_itemnamefromidentifier_namesince it mirrors the Internet Archive API field.maininstead ofmaster.Test plan
swift test --enable-code-coveragepasses locally (63 tests, 0 failures)🤖 Generated with Claude Code