Skip to content

Conversation

@nithinmanoj10
Copy link
Contributor

@nithinmanoj10 nithinmanoj10 commented Feb 3, 2024

As the title conveys, need to figure out how to add GitHub action workflows for the following tasks

  • PyTests
  • Code coverage

Removed the test which contains the url argument, since we removed the url argument from the dataloader. And added tests which contains the redownload argument.

Added argument type and value checking in EnglandCovifDataLoader. Added the necessary exception error tests for the same.

Made changes in the train.py and utils.py to reflect the new changes in the dataloader API. Rest of the training code remains the same.
@nithinmanoj10 nithinmanoj10 added the new feature Adding a new feature label Feb 3, 2024
@nithinmanoj10 nithinmanoj10 self-assigned this Feb 3, 2024
This was linked to issues Feb 3, 2024
Added the new GitHub action workflow file pytest.yaml for automatic unit testing.

Also ran and fixed some ruff linting issues
Made this change so that the workflow ends up working for unit testing with python
@nithinmanoj10 nithinmanoj10 changed the title 🔁 Adding GitHub actions for PyTest, Coverage and PyPI publish 🔁 Adding GitHub actions for PyTest and Coverage Feb 4, 2024
@nithinmanoj10 nithinmanoj10 merged commit a28292c into v1.1.0 Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature Adding a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔁 PyTest and coverage workflow

2 participants