Skip to content

Commit 983ce57

Browse files
committed
Replace travis to github actions
1 parent bdf1ae6 commit 983ce57

File tree

2 files changed

+28
-14
lines changed

2 files changed

+28
-14
lines changed

.github/workflows/pytest.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: pytest
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
strategy:
8+
matrix:
9+
python-version:
10+
- 3.6
11+
- 3.7
12+
- 3.8
13+
- 3.9
14+
- 3.10
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip setuptools
24+
pip install pytest
25+
- name: Run pytest
26+
run: |
27+
pip install .
28+
pytest

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)