Skip to content

Commit fdd3161

Browse files
committed
test: add ci config for running tests
1 parent ef7ae2e commit fdd3161

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Python package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python: [3.7, 3.8]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Setup Python
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: ${{ matrix.python }}
19+
- name: Install Tox and any other packages
20+
run: pip install -r requirements/test.txt
21+
- name: Run Tox
22+
run: tox -e py

0 commit comments

Comments
 (0)