Skip to content

Commit d0a1178

Browse files
authored
Merge pull request #35 from rsokl/develop
Restore CI with github actions, add testing for Python 3.9
2 parents 5395c94 + c324efb commit d0a1178

File tree

4 files changed

+39
-16
lines changed

4 files changed

+39
-16
lines changed

.github/workflows/tox_run.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Tests
2+
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the main branch
6+
push:
7+
branches:
8+
- master
9+
- develop
10+
pull_request:
11+
branches:
12+
- master
13+
- develop
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
19+
strategy:
20+
max-parallel: 3
21+
matrix:
22+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
23+
fail-fast: false
24+
25+
steps:
26+
- uses: actions/checkout@v1
27+
- name: Set up Python ${{ matrix.python-version }}
28+
uses: actions/setup-python@v2
29+
with:
30+
python-version: ${{ matrix.python-version }}
31+
- name: Install dependencies
32+
run: |
33+
python -m pip install --upgrade pip
34+
pip install tox tox-gh-actions
35+
- name: Test with tox
36+
run: tox -e py

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Build Status](https://travis-ci.com/rsokl/custom_inherit.svg?branch=master)](https://travis-ci.com/rsokl/custom_inherit#)
44
[![PyPi version](https://img.shields.io/pypi/v/custom_inherit.svg)](https://pypi.python.org/pypi/custom_inherit)
55
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/custom-inherit.svg)](https://anaconda.org/conda-forge/custom-inherit)
6-
[![Python version support](https://img.shields.io/badge/python-2.7%20%20%203.4%20%203.5%20%203.6%20%203.7%203.8-blue.svg)](https://img.shields.io/pypi/v/custom_inherit.svg)
6+
[![Python version support](https://img.shields.io/badge/python-2.7,%20%20%203.4%20%20%20--%203.9-blue.svg)](https://img.shields.io/pypi/v/custom_inherit.svg)
77
## Contents
88
- [Overview](#overview)
99
- [Basic Usage](#basic-usage)

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ tag_prefix = v
77

88

99
[tox:tox]
10-
envlist = py27,py34,py35,py36,py37,py38
10+
envlist = py27,py35,py36,py37,py38,py39
1111

1212
[testenv]
1313
deps = pytest
14+
six
1415

1516
commands = pytest tests/
1617
# See the docstring in versioneer.py for instructions. Note that you must

0 commit comments

Comments
 (0)