Skip to content

Commit

Permalink
Use github instead of Travis, which stopped working.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkiss committed Nov 28, 2021
1 parent f6bd0b8 commit 1a5ccfa
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 30 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Tests and coverage

on:
push:
branches:
- '**'
tags:
- '**'

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11-dev"]

steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Python environment
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Test core code with pytest
run: |
pip install coverage pytest
coverage run -m py.test tests
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

0 comments on commit 1a5ccfa

Please sign in to comment.