Skip to content

Commit 2c9c685

Browse files
committed
adding github workflow to run selected tests
1 parent 8a049a8 commit 2c9c685

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/test.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+
- main
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.11"
19+
20+
- name: Install dependencies
21+
run: |
22+
pip install git+https://github.com/anoronh4/smile-client@main
23+
pip install -r requirements.txt
24+
pip install -e .
25+
26+
- name: Run tests
27+
working-directory: tests
28+
env:
29+
TEMPO_METADB_PROFILE: local
30+
run: |
31+
python -m pytest test_crf.py test_message_handler.py validate_schema.py -v

0 commit comments

Comments
 (0)