Closed schuenke closed 3 weeks ago
Coverage Report
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
1916 | 0 :zzz: | 0 :x: | 0 :fire: | 1m 39s :stopwatch: |
:file_folder: Download as zip :mag: View online
IMO this should do what we want without using any additional action etc.
EDIT: thought the pytest workflow would also run on push events. I will adjust it...
This now only discards github ui merges, right? not merges done locally? Is this an issue? If yes, we still should consider @ckolbPTB 's suggestions of https://github.com/dorny/paths-filter
This now only discards github ui merges, right? not merges done locally? Is this an issue? If yes, we still should consider @ckolbPTB 's suggestions of https://github.com/dorny/paths-filter
Liked the idea to do it without the paths-filter action, but forgot about local merges... updated the workflow
Okay, works now as we want I think: Every change of src/mrpro/VERSION will trigger the deployment workflow, but only if the version differs from the version in main branch, the workflow will run through. We just need to keep in mind that changing the VERSION file is the last thing you should do in a PR or you have to change it another 2 times to trigger it with the same version / date.
Last question: do we also want to skip the build process as well (as it is implemented now), or do we want to build the package and just dont deploy it? Probably the last option, no? @ckolbPTB @fzimmermann89
Then I will just delete the if: steps.changes.outputs.version_changed == 'true'
conditions in the steps of the build-testpypi-package
job
Last question: do we also want to skip the build process as well (as it is implemented now), or do we want to build the package and just dont deploy it?
I would just do the build and nothing else
Only skip deployments.
At least whenever pyproect.toml is changed we should try a build, no?
This PR should fix that:
closes #445