cisagov / cisagov/skeleton-aws-lambda-python

Refactor project

Abierto
#15 0 comentarios 0 reacciones 1 asignado Reclamado por @mcdonnnj Ver en GitHub
breaking change dependencies improvement test
Lenguaje dominante
Shell
Estrellas
6
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

# 💡 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.