Skip to content

Commit 4339cda

Browse files
committed
Run smoke tests daily to find regressions
1 parent 5760fb3 commit 4339cda

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Daily SimRadio Tests
2+
3+
on:
4+
schedule:
5+
- cron: 0 6 * * *
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
simradio_testing:
13+
runs-on: ubuntu-latest
14+
if: github.repository == 'meshtastic/meshtastic-python'
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
persist-credentials: false
19+
- name: Install Python 3
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: "3.12"
23+
- name: Install meshtastic from local
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip3 install poetry
27+
poetry install --all-extras --with dev
28+
poetry run meshtastic --version
29+
- name: Install meshtasticd (daily) from PPA
30+
run: |
31+
sudo add-apt-repository -y ppa:meshtastic/daily
32+
sudo apt-get update
33+
sudo apt-get install -y meshtasticd
34+
- name: Run firmware smoke tests
35+
run: poetry run pytest -m "smokevirt or smokemesh" -v
36+
timeout-minutes: 15

0 commit comments

Comments
 (0)