Skip to content

Commit f293ce0

Browse files
committed
WIP run python tests in github actions
1 parent 9c9f7f3 commit f293ce0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/run-py-tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run Python Tests
2+
on:
3+
push:
4+
# branches:
5+
# - master
6+
# pull_request:
7+
# branches:
8+
# - master
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Install Python 3
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: 3.7
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -r requirements.txt
23+
- name: Run tests with pytest
24+
run: pytest

0 commit comments

Comments
 (0)