Skip to content

Commit 01f5797

Browse files
committed
Add GitHub Actions workflow for running Pytest
1 parent d0d328e commit 01f5797

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: Pytest
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Python 3.10
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.10"
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install .[dev]
23+
- name: Run pytest
24+
run: |
25+
pytest

0 commit comments

Comments
 (0)