Skip to content

Commit

Permalink
ci: switch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
skeggse committed Mar 21, 2022
1 parent b6e4ff4 commit 97c817c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Test

on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'

defaults:
run:
shell: bash

jobs:
test:
name: pytest
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['2.7', '3.4', '3.5', '3.6']
include:
- os: ubuntu-18.04
python-version: '3.4'
exclude:
- os: ubuntu-latest
python-version: '3.4'
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- run: pip install -r requirements.txt
- run: pytest

0 comments on commit 97c817c

Please sign in to comment.