Closed andrewkern closed 2 years ago
Sorry, yet another question - I see that ci-environment.yml
is used only for Windows, while various requirements.txt
serve for the other platforms. Is there a good reason for this, or can I just make them all use the same file?
right. so i'm doing things a bit different in the Windows section than what you had originally. I'm using conda with a yaml environment file on instantiation that builds the virtual environment with everything preinstalled. the way you had been doing it was to create a conda environment, and then in separate steps install the conda reqs and then the pip reqs. Using a single conda env file on instantiations collapses all these steps down to one step and saves a bunch of time on the GH action workflow.
I didn't edit the macos / ubuntu side of things as it currently just works. IMO the right thing to do next would be to edit those sections of the workflow to do similar, and then to ditch conda and move to a provisioned micromamba setup. I'd vote we do that on a separate PR, once this is merged as an example.
closing this cause i've got a cleaner PR on deck
set up GH actions to build
SLiM
and testpyslim
on windows