CosmoStat / wf-psf

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

Manual triggers for CI and CD #126

Closed jeipollack closed 6 months ago

jeipollack commented 6 months ago

This PR includes two manual trigger workflows for CI and CD, respectively. For CI_manual, we include a Python version matrix for versions 3.9 and 3.10 compatible with the latest release of WF-PSF. Python versions 3.11 and 3.12 requires upgrades to WF-PSF TensorFlow and TensorFlow Add-on packages. For CD.yml and CD_manual.yml, we also bumped up the Python version to 3.10.11.

Due to CI failures with pytest==8.1.x (https://github.com/CosmoStat/wf-psf/issues/125) and deprecated pytest-plugins (https://github.com/CosmoStat/wf-psf/issues/118), I locked `pytest>=7.0.0,<8.1' and removed deprecated pytest-plugins.

Solves #118 and #125.

Ran CI and CD tests in forked repo: https://github.com/jeipollack/wf-psf/actions

jeipollack commented 6 months ago

@sfarrens I am ready for you to review this PR.

jeipollack commented 6 months ago

@sfarrens ready for you to re-review the latest changes.

jeipollack commented 6 months ago

Hi Sam, I was wondering if we could redirect this PR to main branch instead of develop in order to make immediate use of the manual trigger workflows. let me know what you think.

sfarrens commented 6 months ago

This PR can be merged now