Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and fix Continuous Integration #141

Merged
merged 8 commits into from
Feb 21, 2022
Merged

Update and fix Continuous Integration #141

merged 8 commits into from
Feb 21, 2022

Conversation

geographika
Copy link
Owner

@geographika geographika commented Feb 21, 2022

Appveyor appeared to have an issue running pytest directly for Python 3.7 and above (and pytest v7+).
Fixed by changing to python -m pytest

Also deprecation warnings for using hyphens in setup.cfg. description-file changed to description_file to fix this one (underscores are fine).

Removed Travis CI from repo and replaced with GitHub actions. See https://github.com/actions/setup-python

This was mostly fine, except for trying to migrate coveralls and setting up https://coveralls.io/github/geographika/mappyfile
pytest-cov does not output lcov files, which are the only format which work with the "official" coverallsapp GHA:

coverallsapp/github-action#30 Can I use only LCOV files? #30

Had to try various options and settings before getting it working, and having to exclude Python 2.7
Various links that were useful (and confusing at the same time):

Also setup.py is now deprecated for building wheels etc.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
Used pip to install https://pypa-build.readthedocs.io/en/stable

Read the docs also was deprecated: http://docs.readthedocs.io/en/latest/yaml-config.html
Switched to https://docs.readthedocs.io/en/stable/config-file/v2.html

@geographika geographika changed the title Update Travis to GHA Update and fix Continuous Integration Feb 21, 2022
@geographika geographika merged commit 41328ea into master Feb 21, 2022
@geographika geographika deleted the gha branch February 21, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant