• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MITLibraries / s3-bagit-validator / 14596470637
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: v0.1.6
DEFAULT BRANCH: main
Ran 22 Apr 2025 01:50PM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Apr 2025 01:43PM UTC coverage: 89.039%. First build
14596470637

push

github

ghukill
Add AWS SAM CLI testing harness

Why these changes are being introduced:

This lambda application is a bit unique in that we include a CLI "sidecar"
that is designed to invoked the deployed AWS Lambda.  It is unknown how
long this CLI will be required (bit of a stopgap measure) but for as
long as it it is included, testing it is important.

The testing loop was made difficult when the CLI commands would hit
the deployed lambda, requiring quite a few builds + deploys to
Dev environment (or even worse, Stage if we needed assets there).

How this addresses that need:

AWS SAM (Serverless Application Model) CLI is a way to test AWS
lambdas quite thoroughly locally.  Of particular help and interest
to this project is the ability to handle HTTP requests to the
lambda as if it were handling them from behind an ALB, Function
URL, or API gateway, which is how this project's CLI invokes the
lambda.

By including some scaffolding and Makefile commands we can
fairly easily run the lambda locally via AWS SAM CLI, allowing
for easier testing of the CLI.

Side effects of this change:
* None really

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IR-228

593 of 666 relevant lines covered (89.04%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14596470637.1 22 Apr 2025 01:50PM UTC 8
89.04
GitHub Action Run
Source Files on build 14596470637
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14596470637
  • f3d7951a on github
  • Next Build on IR-228-small-updates-and-aws-sam-cli (#14596638612)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc