cisagov / cisagov/skeleton-aws-lambda-python

Refactor project

未关闭
#15 0 条评论 0 个 reaction 已指派 1 人 已被 @mcdonnnj 认领 在 GitHub 查看
breaking change dependencies improvement test
主要语言
Shell
星标
6
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

# 💡 Summary #

This project should be refactored for multiple reasons.

## Motivation and context ##

An AWS Lambda just needs to be a single deployable artifact that only needs to support a single Lambda runtime. Given that premise we can pare down the Docker/[pipenv] configuration to target a single version of Python (corresponding with a supported AWS Lambda Python runtime). This should also allow us to integrate testing of the Python code much more easily.

## Implementation notes ##

- Reduce the [pipenv] configurations down to a single configuration targeting a single Python version.
- Reorganize the directory structure accordingly.
- Implement support for Python code testing (through [pytest]).
- Update the GitHub Actions workflows accordingly.

## Acceptance criteria ##

- [ ] There is only a single deployment artifact created.
- [ ] Python code testing is integrated.

[pipenv]: https://github.com/pypa/pipenv
[pytest]: https://github.com/pytest-dev/pytest

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。