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

Add tests #6

Merged
merged 26 commits into from
May 9, 2024
Merged

Add tests #6

merged 26 commits into from
May 9, 2024

Conversation

crdanielbusch
Copy link
Contributor

@crdanielbusch crdanielbusch commented May 6, 2024

I'm testing the github workflow with this pull request. So it can be ignored for now.

Copy link
Collaborator

@lewisjared lewisjared left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Urgh I see what you mean.

In this case, it is fine to wrap download part of the omDownloadInputs.py in a function and then call that function from within a if __name__ == '__main__': block. That will allow you to import omDownloadInputs without triggering the download and follows a pattern that is similar to other scripts in the repo.

That should allow you to not need the temporary_file_for_tests.py

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
.github/actions/setup/action.yaml Outdated Show resolved Hide resolved
.github/actions/setup/action.yaml Outdated Show resolved Hide resolved
.github/workflows/deploy.yaml Outdated Show resolved Hide resolved
@prayner prayner merged commit c8a9f67 into main May 9, 2024
1 check passed
@prayner prayner deleted the add-tests branch May 9, 2024 02:40
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.

3 participants