Skip to content

Commit be2336c

Browse files
committed
ci(tests): add new action to run tests on every push
1 parent c7e77e6 commit be2336c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build-tests:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out repository
12+
uses: actions/checkout@v4
13+
14+
- name: Install python and dependencies
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: '3.13'
18+
cache: 'pip'
19+
- run: pip install -r requirements.txt
20+
21+
- name: Run tests
22+
run: pytest

0 commit comments

Comments
 (0)