geomagpy / magpy

MagPy (or GeomagPy) is a Python package for analysing and displaying geomagnetic data.
BSD 3-Clause "New" or "Revised" License
45 stars 27 forks source link

Add continuous integration to run tests automatically #94

Closed jmfee-usgs closed 3 years ago

jmfee-usgs commented 5 years ago

Travis CI is one option: https://travis-ci.org/

This is an example travis configuration file: https://github.com/usgs/geomag-algorithms/blob/master/.travis.yml

Could run the existing mptest utility with sample data files.

mojca commented 5 years ago

Travis has uncertain future, it might be better to use a different service if starting from scratch. Azure is one of the nice options.

jmfee-usgs commented 5 years ago

We use travis regularly, and I hadn't heard about any uncertainty. I'm open to any system, and mainly interested in automated feedback on pull requests.

Looks like Azure could support parallel versions of python too. Do you have any example scripts to use as a starting point? https://docs.microsoft.com/en-us/azure/devops/pipelines/languages/python?view=azure-devops#use-multiple-python-versions

leonro commented 3 years ago

Since version 1.0.0 travis-ci is used for continuous integration.