Skip to content

Commit 1320613

Browse files
committed
Run pytest on push
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
1 parent dc28d04 commit 1320613

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
pytest:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- name: Set up Python 3.8
13+
uses: actions/setup-python@v3
14+
with:
15+
python-version: "3.10"
16+
17+
- name: Install dependencies
18+
run: >-
19+
python -m
20+
pip install pytest pytest-subprocess
21+
--user
22+
23+
- name: Run tests with pytest
24+
run: |
25+
pytest

0 commit comments

Comments
 (0)