Arcadia-Science / readlif

Leica Image Format (LIF) file reader for Python
GNU General Public License v3.0
32 stars 13 forks source link

ci(tox): Migrate from Travis to GitHub Actions #10

Closed jidicula closed 3 years ago

jidicula commented 3 years ago

Why this change was necessary Travis CI has moved away from their .org site and has also announced a new pricing model that isn't as generous for open-source projects[1].

What this change does Moves the tox and PyPI publish automation into a GitHub Actions workflow.

Note that the macos-11.0 platform option should remain commented out until the stalled runs described in actions/virtual-environments#2381 are resolved[2].

Any side-effects? None

Additional context/notes/links

Resolves nimne/readlif#9

jidicula commented 3 years ago

@nimne I've set up the publish step to use a secret named PYPI_API_TOKEN

jidicula commented 3 years ago

Also not sure why the workflows aren't running... is there a repo setting you have to enable for fork PRs to be able to run workflows?

nimne commented 3 years ago

It's a funny chicken and egg problem - I need to have all of these files in the repo in order to run a workflow! On first glance this looks great! I'll have time to setup the pypi secret and merge this later in the afternoon!

nimne commented 3 years ago

Thanks for the PR, this works great! I think I'll have time to clean up the recent additions to the dev branch and get the CI merged into main branch this week.