Skip to content

Commit 0bfd332

Browse files
committed
Run tests in Actions
1 parent e23dfde commit 0bfd332

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Run Tests
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Set up Python 3.6
10+
uses: actions/setup-python@v1
11+
with:
12+
python-version: 3.6
13+
- name: Versions
14+
run: |
15+
python3 --version
16+
- name: Checkout Current Repo
17+
uses: actions/checkout@v1
18+
with:
19+
submodules: true
20+
- name: Install pytest
21+
run: pip install pytest
22+
- name: Install locally
23+
run: pip install .
24+
- name: Run tests
25+
run: pytest

0 commit comments

Comments
 (0)