Skip to content

Commit

Permalink
Try to switch from Travis to GitHub Actions (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-blanchard committed Dec 10, 2020
1 parent 1db0347 commit a9286f7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 37 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,26 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install --upgrade --upgrade-strategy only-if-needed pytest pytest-catchlog
pip install .
- name: Test with pytest
run: |
pytest
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

0 comments on commit a9286f7

Please sign in to comment.