Skip to content

Commit 7f95969

Browse files
committed
pytest workflow
1 parent 20daa6b commit 7f95969

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pytest.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: pytest
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Python
11+
uses: actions/setup-python@v3
12+
with:
13+
python-version: "3.12"
14+
cache: 'pip'
15+
- name: Install dependencies
16+
run: |
17+
python -m pip install --upgrade pip
18+
pip install -r requirements.txt
19+
- name: Run tests
20+
run: |
21+
pytest

0 commit comments

Comments
 (0)