Open andrea-bistacchi opened 1 year ago
For using GitHub Actions we need to enable it in the settings (I don't think I have permission to do that) the actions tab inside this repository as explained here
Hi, these are options for general actions:
Actions permissions
I guess 1 is not a good idea, and we must choose between 3 and 4. Let me know what we need.
I would enable option 4 because the number 3 allows us to use only the actions we created. Inside option 4 we need to allow for actions created by GitHub, Trusted-Authors and in the list we need to provide these three additional actions: conda-incubator/setup-miniconda@v2, enricomi/publish-unit-test-result-action/composite@v2, enricomi/publish-unit-test-result-action@v2,
The first action is to set up conda, the other two are for displaying test results.
Example:
Done!
Hi Andrea, when you have time, you can delete from the Actions Permissions these two old lines that we don't use anymore:
enricomi/publish-unit-test-result-action/composite@v2,
enricomi/publish-unit-test-result-action@v2,
and add this line for re-use our GitHub workflow (for the future the general command is OWNER/REPO/PATH/FILENAME):
andrea-bistacchi/PZero/.github/workflows/release.yml
Hi, done. Now the allowed actions are:
conda-incubator/setup-miniconda@v2,
andrea-bistacchi/PZero/.github/workflows/release.yml
We have a problem with mamba for Mac OS. Also the architecture should be checked (Intel vs. M1).
https://github.com/andrea-bistacchi/PZero/actions/workflows/testing.yml
Mamba 1.5.3 has been released for all platforms. We should check whether this solves the issues with MacOS.
libmamba is now the standard (since conda 23.10) but this does not solve the problems with MacOS.
We have decided not to test and deploy executables for MacOS for some time.
We need to create an automated testing system, possibly using GitHub actions and pytest with pytest-qt.
I think some useful example can be found on the PyVista repository.