Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry for Dependency Management and TestContainers for Integration Testing #134

Merged
merged 6 commits into from
Apr 29, 2024

Conversation

bsbodden
Copy link
Collaborator

@bsbodden bsbodden commented Apr 4, 2024

In this PR:

  • Uses Poetry for Dependency Management
  • Replaces the Makefile with Python scripts that can be run from Poetry
  • Implements TestContainers with a Docker Compose file for integration testing

@bsbodden bsbodden marked this pull request as draft April 4, 2024 07:03
@bsbodden
Copy link
Collaborator Author

bsbodden commented Apr 4, 2024

@tylerhutcherson Test will likely fail in CI since we would need to configure Github Actions correctly to use TestContainers. I will look into that soon.

But please test locally and see if it all works for you!

pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
scripts.py Show resolved Hide resolved
tests/docker-compose.yml Show resolved Hide resolved
@bsbodden bsbodden force-pushed the bsb/poetry-and-test-containers branch 6 times, most recently from 0a45659 to a02257a Compare April 5, 2024 03:20
@codecov-commenter
Copy link

codecov-commenter commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.43%. Comparing base (5fad799) to head (923272b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #134   +/-   ##
=======================================
  Coverage   88.43%   88.43%           
=======================================
  Files          26       26           
  Lines        1565     1565           
=======================================
  Hits         1384     1384           
  Misses        181      181           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bsbodden bsbodden force-pushed the bsb/poetry-and-test-containers branch 6 times, most recently from 8a82e13 to 74f709b Compare April 5, 2024 13:22
@bsbodden bsbodden force-pushed the bsb/poetry-and-test-containers branch 5 times, most recently from 37edf15 to c11e5d0 Compare April 13, 2024 18:08
@bsbodden bsbodden force-pushed the bsb/poetry-and-test-containers branch 2 times, most recently from 5bb2f7a to bba1c44 Compare April 13, 2024 18:42
@bsbodden bsbodden added the build Build or dependencies related changes label Apr 13, 2024
@bsbodden bsbodden force-pushed the bsb/poetry-and-test-containers branch 2 times, most recently from 3169a8a to 4571aef Compare April 14, 2024 22:20
@bsbodden bsbodden force-pushed the bsb/poetry-and-test-containers branch 10 times, most recently from d0221d8 to 3283d38 Compare April 15, 2024 03:16
@bsbodden bsbodden marked this pull request as ready for review April 15, 2024 03:50
pyproject.toml Show resolved Hide resolved
@tylerhutcherson tylerhutcherson merged commit 727d6dc into main Apr 29, 2024
20 checks passed
@tylerhutcherson tylerhutcherson deleted the bsb/poetry-and-test-containers branch April 29, 2024 17:55
justin-cechmanek pushed a commit that referenced this pull request May 6, 2024
…esting (#134)

In this PR:
- Uses Poetry for Dependency Management
- Replaces the Makefile with Python scripts that can be run from Poetry
- Implements TestContainers with a Docker Compose file for integration
testing

---------

Co-authored-by: Robert Shelton <robert.b.shelton.42@gmail.com>
Co-authored-by: Tyler Hutcherson <tyler.hutcherson@redis.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build or dependencies related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants