Skip to content

Commit 898cf0c

Browse files
authored
Merge pull request #198 from geezacoleman/display-bug
add github workflows
2 parents 9a4ced7 + 7f9eb85 commit 898cf0c

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Tests
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+
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.11'
19+
20+
- name: Install dependencies
21+
run: |
22+
pip install pytest flask paho-mqtt opencv-python-headless numpy pandas Pillow matplotlib psutil
23+
24+
- name: Run tests
25+
run: pytest tests/ -v --tb=short

0 commit comments

Comments
 (0)