prjemian / pyRestTable

Format a nice table in reST (reStructuredText) from Python
http://prjemian.github.io/pyRestTable/
2 stars 2 forks source link

CI: migrate from travis-ci #37

Closed prjemian closed 3 years ago

prjemian commented 3 years ago

Since travis-ci is changing its pricing model, find another CI service that fits the budget of this project

prjemian commented 3 years ago

Try Github Actions

see https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions

prjemian commented 3 years ago

Follow Python Package using Anaconda from https://github.com/prjemian/pyRestTable/actions/new

prjemian commented 3 years ago

https://github.com/actions/starter-workflows/blob/d9b22d32d233c8ec1ae4cd6a8d06b23c795a816c/ci/python-package-conda.yml

prjemian commented 3 years ago

Need to learn how to setup miniconda with GH Actions

prjemian commented 3 years ago

Need to learn how to test with different python versions

prjemian commented 3 years ago

Aha! The new code uses pytest but existing CI uses unittest. Good that pytest can run these anyway without immediate need to refactor!

prjemian commented 3 years ago

see: https://github.com/marketplace/actions/setup-miniconda

also: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/migrating-from-travis-ci-to-github-actions

prjemian commented 3 years ago

Python 2.7 is EOL, don't test for it. Problems building for Py3.5, don't test for it.

prjemian commented 3 years ago

travis-ci is a webhook. https://github.com/prjemian/pyRestTable/settings/hooks