Skip to content

azavea/majorkirby

Repository files navigation

majorkirby CI

Puts CloudFormation stacks into motion.

This project uses boto3 for AWS CloudFormation.

Testing

There are two ways to run the built-in test suite. One is intended to be run locally, while the other is setup to run within a Docker container.

Local

The local tests require a working installation of Python 3.

Install dependencies (including test extras) and run the tests:

$ python3 -m pip install -e '.[test]'
$ python3 -m unittest

If you prefer uv:

$ uv pip install -e '.[test]'
$ uv run python -m unittest

The legacy setuptools test runner is still supported:

$ python3 setup.py test

Docker

The Docker setup builds an image with Python 3 installed, along with all of this project's dependencies. Build the image and launch the container with Docker Compose:

$ docker-compose build majorkirby
$ docker-compose run majorkirby python -m pip install -e '.[test]'
$ docker-compose run majorkirby python -m unittest

If you prefer to keep using the legacy setuptools test runner:

$ docker-compose run majorkirby python setup.py test

About

Puts cloudformation stacks into motion

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors