Skip to content

Commit 9d38c9c

Browse files
committed
ci: add run-tests workflow
1 parent 1c32739 commit 9d38c9c

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- refactoring-v3-mvp
7+
pull_request:
8+
branches:
9+
- refactoring-v3-mvp
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: '3.10'
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install pytest
27+
pip install -r requirements.txt
28+
29+
- name: Run tests
30+
run: |
31+
python -m pytest

0 commit comments

Comments
 (0)