CosmoStat / wf-psf

Data-driven wavefront-based PSF modelling framework.
MIT License
19 stars 9 forks source link

Feature 92 ci ignore gpu tests #94

Closed jeipollack closed 8 months ago

jeipollack commented 9 months ago

This PR applies a fix raised in #92 regarding skipped validation tests. We want the validation tests to be skipped during CI, but to be ran manually with pytest by the developer. We applied the conditional pytest.mark.skipif decorator and will check if the CI environment variable was defined. If yes, the test is skipped, else the test is run.

Closes #92

jeipollack commented 9 months ago

A comment: I began working on this in the very late hours last Friday. I made some stupid errors bc I was tired. So, I decided to do a hard reset to get rid of the many useless commits.