Skip to content

Commit b9a6837

Browse files
committed
ci: switch to github actions
1 parent b6e4ff4 commit b9a6837

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/python.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- 'master'
7+
push:
8+
branches:
9+
- 'master'
10+
11+
defaults:
12+
run:
13+
shell: bash
14+
15+
jobs:
16+
test:
17+
name: pytest
18+
runs-on: ubuntu-latest
19+
strategy:
20+
matrix:
21+
python-version: ['2.7', '3.4', '3.5', '3.6']
22+
fail-fast: false
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: Set up Python
26+
uses: actions/setup-python@v3
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
cache: 'pip'
30+
- run: pip install -r requirements.txt
31+
- run: pytest

0 commit comments

Comments
 (0)