Skip to content

Commit

Permalink
Merge pull request #29 from magnusuMET/github_ci
Browse files Browse the repository at this point in the history
Add github CI
  • Loading branch information
jgriesfeller authored Jan 13, 2025
2 parents b4d1b75 + 6befadf commit bbd232a
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 21 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: ci

on:
pull_request:
push:
branches:
- master

jobs:
testing:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python_version: ["3.9", "3.12", "3.13"]
os: ["ubuntu-22.04", "ubuntu-24.04"]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup up python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Install dependencies
run: pip install .

- name: run tests
run: python -m unittest discover
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# geojsoncontour
[![Build Status](https://travis-ci.org/bartromgens/geojsoncontour.svg?branch=master)](https://travis-ci.org/bartromgens/geojsoncontour) [![PyPI version](https://badge.fury.io/py/geojsoncontour.svg)](https://badge.fury.io/py/geojsoncontour) [![Coverage Status](https://coveralls.io/repos/github/bartromgens/geojsoncontour/badge.svg?branch=master)](https://coveralls.io/github/bartromgens/geojsoncontour?branch=master)
[![Build Status](https://github.com/bartromgens/geojsoncontour/workflows/ci/badge.svg)](https://github.com/bartromgens/geojsoncontour/actions?query=branch%3Amaster) [![PyPI version](https://badge.fury.io/py/geojsoncontour.svg)](https://badge.fury.io/py/geojsoncontour) [![Coverage Status](https://coveralls.io/repos/github/bartromgens/geojsoncontour/badge.svg?branch=master)](https://coveralls.io/github/bartromgens/geojsoncontour?branch=master)
A Python 3 module to convert matplotlib contour plots to geojson. Supports both contour and contourf plots.

Designed to show geographical [contour plots](http://matplotlib.org/examples/pylab_examples/contour_demo.html),
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

0 comments on commit bbd232a

Please sign in to comment.