You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently migrated all the CI testings and style checks from Azure Pipelines to GitHub Actions. Currently, we're using both GitHub Actions and Travis CI.
The Travis CI is doing following jobs:
Test PyGMT with Python 3.6-3.8 on Linux
Deploy documentation to gh-pages branch for master branch and tags
No strong objections to this, we should do all three in separate PRs. Only concern would be that this makes up totally dependent on Github, which might be problematic if GIthub servers go down (but that's a bigger issue in itself).
The first one is already covered in the GitHub Actions, so it's OK to just remove them from Travis CI.
Yep. Or we could keep one single test around. Maybe a test for a nightly Python build for the upcoming Python 3.9?
The 2nd and the 3rd one should be migrated to GitHub Actions.
The first one is already covered in the GitHub Actions, so it's OK to just remove them from Travis CI.
Yep. Or we could keep one single test around. Maybe a test for a nightly Python build for the upcoming Python 3.9?
We rely on packages from conda-forge. If conda-forge doesn't provide numpy, pandas and xarray packages for Python 3.9, I don't think we can get the testings running.
The 2nd and the 3rd one should be migrated to GitHub Actions.
Activity
weiji14 commentedon Aug 18, 2020
No strong objections to this, we should do all three in separate PRs. Only concern would be that this makes up totally dependent on Github, which might be problematic if GIthub servers go down (but that's a bigger issue in itself).
Yep. Or we could keep one single test around. Maybe a test for a nightly Python build for the upcoming Python 3.9?
On the 2nd one, see GenericMappingTools/website#65 as an example on documentation build/deploy.
For the 3rd one (Publish to PyPI), we could use https://github.com/marketplace/actions/pypi-publish, and maybe test it on https://test.pypi.org (instead of the main pypi.org website) first to be sure we don't break anything.
seisman commentedon Aug 19, 2020
We rely on packages from conda-forge. If conda-forge doesn't provide numpy, pandas and xarray packages for Python 3.9, I don't think we can get the testings running.
We still need the https://github.com/fatiando/continuous-integration/blob/master/travis/deploy-gh-pages.sh script, because documentation of different versions are stored in separated directories.
To make it work, we may need a PyPI token.
seisman commentedon Aug 19, 2020
We may not need the script, as the peaceiris/actions-gh-pages action supports "deploying to a subdirectory".
seisman commentedon Nov 3, 2020
FYI, I've added a pypi token in secret
pypi_password, which can be used in the https://github.com/marketplace/actions/pypi-publish action.