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

Setup unit tests using pytest #54

Merged
merged 15 commits into from
Nov 23, 2023
Merged

Setup unit tests using pytest #54

merged 15 commits into from
Nov 23, 2023

Conversation

CasperWA
Copy link
Collaborator

@CasperWA CasperWA commented Nov 22, 2023

Closes #53

Translates the tests currently run in .github/utils/docker_test.py to pytest unit tests.
Adds a new CI job to run pytest, as well as collect coverage and upload it to codecov.io.

NB: This is based on the work done in #52, and is therefore relying on that being merged first.
Edit: This is done.

@CasperWA CasperWA marked this pull request as draft November 22, 2023 08:54
Copy link

codecov bot commented Nov 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@8cac361). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage        ?   75.00%           
=======================================
  Files           ?        9           
  Lines           ?      200           
  Branches        ?        0           
=======================================
  Hits            ?      150           
  Misses          ?       50           
  Partials        ?        0           

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

@CasperWA CasperWA force-pushed the cwa/close-53-setup-pytest branch from 8f2c7e6 to cae5567 Compare November 22, 2023 09:43
@CasperWA CasperWA marked this pull request as ready for review November 22, 2023 09:44
@CasperWA CasperWA merged commit 7c3f930 into main Nov 23, 2023
12 checks passed
@CasperWA CasperWA deleted the cwa/close-53-setup-pytest branch November 23, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate current docker tests into a local pytest runnable environment
1 participant