Closed bobleesj closed 1 month ago
@bobleesj there are several things we might want to change here. 1: headless (xvfb) should only run for linux 2: arm Mac need to install functional packages, and often it's not the latest conda forage main release. (this should go away with a nice conda forge release)
I had a matrix workflow for pdfgui a while ago where I noticed the problems (also see Billingegroup/cookiecutter#109): https://github.com/diffpy/diffpy.pdfgui/actions/runs/10604930935/workflow
One thing that might be helpful when running matrix is to have:
strategy:
fail-fast: false
Thanks Tieqiong, it seems like an edge case for pdfgui out of all the packages we have.
for release scripts, I think it should be as general as possible, and for pdfgui, we can probably make a separate ci file for matrix test then? we won’t be distributing macOS arm64 (no native built) or Linux (wxpython) on conda forge
Not only for pdfgui. Whenever we need a headless test we want only linux to run xvfb. So let's add that logic in, or we're removing headless.
Also for the pdffit2 installation. I'm not sure but there could be other packages that have it as dependencies?
for linux headless, for sure, if you could make a PR for that. Would you also like to make a separate CI for pdfgui ? I don't recall any packages relying on pdffit2 besides pdfgui. @sbillinge maybe can provide insight on this
Per convo with Bob, let's wait until we are building wheel files and deplying on pypi and then do it that way.
Closes #48
Tested using a fork on diffpy.pdffit2: https://github.com/bobleesj/diffpy.pdffit2/actions/runs/11079705068/job/30789162458?pr=6
macos-14
referes to macOS M1@sbillinge ready for review