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

Ci tests #82

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Ci tests #82

wants to merge 2 commits into from

Conversation

cshanahan1
Copy link
Collaborator

@cshanahan1 cshanahan1 commented Jul 31, 2023

Draft PR to add unit tests for all modules in wfc3tools.

I'm in the process of moving these tests out of notebooks, and making use of fixtures and pytests temporary directory feature rather than the one i implemented here.

I am also still working on a solution for test data because for these tests I need both UVIS/IR associations of several files and both full frame and subarray for each, which is a few GB. I attempted to generate some lightweight files on the fly that are written out and cleaned up after use, but I can't get this to work (still, I think this might be the best option, but requires some more trial and error). I have set it up when running locally to use astroquery to download data rather than packaging the test data with wfc3tools, but this wont work in the CI environment either.

@mdlpstsci
Copy link
Contributor

@cshanahan1 This is great and long overdue work for this repo!

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.

2 participants