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 7f9bb1b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 30 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and test

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

jobs:
build:
name: Ubuntu core Test
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11-dev]
os: [ubuntu-latest, macos]

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 7f9bb1b

Please sign in to comment.