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

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

Build:
Build:
LAST BUILD BRANCH: v0.1.6
DEFAULT BRANCH: main
Ran 22 Apr 2025 01:58PM 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:56PM UTC coverage: 89.039% (+0.05%) from 88.989%
14596638612

Pull #66

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
Pull Request #66: IR 228 - small updates and aws sam cli

6 of 6 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

593 of 666 relevant lines covered (89.04%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.19
0.37% lambdas/cli.py
Jobs
ID Job ID Ran Files Coverage
1 14596638612.1 22 Apr 2025 01:58PM UTC 8
89.04
GitHub Action Run
Source Files on build 14596638612
  • Tree
  • List 8
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14596638612
  • Pull Request #66
  • PR Base - main (#14540309546)
  • 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