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 a1de536
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test

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

defaults:
run:
shell: bash

jobs:
test:
name: pytest
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['2.7', '3.4', '3.5', '3.6']
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 a1de536

Please sign in to comment.