ManderaGeneral / generalpackager

Tools to interface GitHub, PyPI, NPM and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for ManderaGeneral for now.
https://pypi.org/project/generalpackager/
Apache License 2.0
0 stars 0 forks source link

Checkout workflow running for branches other than master #48

Closed Mandera closed 1 year ago

Mandera commented 1 year ago

Which branch does it use in workflow? Could it publish by another branch than master? I guess only testing would be nice

Mandera commented 1 year ago

It does unittest but no sync: https://github.com/ManderaGeneral/generalpackager/actions/runs/3296057194/workflow

Mandera commented 1 year ago

It clones from master so new code isn't even tested

Mandera commented 1 year ago

Could try cloning from current branch: https://stackoverflow.com/questions/1911109/how-do-i-clone-a-specific-git-branch

Options

Could also just disable tests for branches other than master