Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Based on
# https://pypi.org/project/tox-gh-actions/

name: Python

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
hashin
======

.. image:: https://travis-ci.org/peterbe/hashin.svg?branch=master
:target: https://travis-ci.org/peterbe/hashin
.. image:: https://github.com/peterbe/hashin/workflows/Python/badge.svg
:target: https://github.com/peterbe/hashin/actions

.. image:: https://badge.fury.io/py/hashin.svg
:target: https://pypi.python.org/pypi/hashin
Expand Down Expand Up @@ -270,6 +270,10 @@ put it directly into ``pip``.
Version History
===============

* Switch to GitHub Actions instead of TravisCI. And test ``tox`` in
Python 3.7 and 3.8 additionally as well as upgrading lint requirements.
See https://github.com/peterbe/hashin/pull/118

0.15.0
* Use of underscore or hyphens in package names is corrected
See https://github.com/peterbe/hashin/issues/116 Thanks @caphrim007
Expand Down
6 changes: 3 additions & 3 deletions lint-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
flake8==3.6.0
black==18.9b0
therapist==1.6.0
flake8==3.8.3
black==19.10b0
therapist==2.0.1
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist = py{27,34,35,36,37}, lint, restlint
envlist = py{27,34,35,36,37,38}, lint, restlint

[travis]
[gh-actions]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36, lint, restlint
3.7: py37, lint, restlint
3.6: py36
3.7: py37
3.8: py38, lint, restlint

[testenv]
usedevelop = True
Expand Down