Skip to content

Commit e86b369

Browse files
committed
added tests.yml
1 parent 9745b7a commit e86b369

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Run tests
2+
3+
on: push
4+
5+
jobs:
6+
pytest:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
# https://github.com/actions/setup-python
11+
- uses: actions/setup-python@v5
12+
with:
13+
python-version: "3.12"
14+
cache: pip
15+
- name: Install dependencies
16+
run: pip install -r requirements.txt
17+
- name: Run tests
18+
run: pytest
19+
# https://github.com/astral-sh/ruff-action
20+
- uses: astral-sh/ruff-action@v3

0 commit comments

Comments
 (0)