Skip to content

Commit

Permalink
Merge pull request #9 from mpsonntag/deTravis
Browse files Browse the repository at this point in the history
[CI] Thank you and goodbye travis
  • Loading branch information
jgrewe authored Jun 21, 2021
2 parents ca6221c + 8977de7 commit 87e67fc
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 75 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: run-tests
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python setup.py install
pip install pytest
- name: Run tests
run: pytest
71 changes: 0 additions & 71 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![Travis build](https://travis-ci.org/G-Node/odmltools.svg?branch=master)
[![gh actions tests](https://github.com/G-Node/odmltools/workflows/run-tests/badge.svg?branch=master)](https://github.com/G-Node/odmltools/actions)
[![Build status](https://ci.appveyor.com/api/projects/status/oo5lxr6h4pfc9ly7/branch/master?svg=true)](https://ci.appveyor.com/project/G-Node/odmltools/branch/master)
![Test coverage](https://coveralls.io/repos/github/G-Node/odmltools/badge.svg?branch=master)
[![Test coverage](https://coveralls.io/repos/github/G-Node/odmltools/badge.svg?branch=master)](https://coveralls.io/github/G-Node/odmltools)
[![PyPI version](https://img.shields.io/pypi/v/odmltools.svg)](https://pypi.org/project/odmltools/)

# odmltools
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ init:
build: false

install:
- python -m pip install odml xmltodict
- python -m pip install odml xmltodict pytest

test_script:
- python --version
- python setup.py test
- python -m pytest

0 comments on commit 87e67fc

Please sign in to comment.