mirror of
https://github.com/meshtastic/python.git
synced 2026-07-31 09:06:28 -04:00
37 lines
988 B
YAML
37 lines
988 B
YAML
name: Daily SimRadio Tests
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 0 6 * * *
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
simradio_testing:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'meshtastic/python'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install Python 3
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
- name: Install meshtastic from local
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip3 install poetry
|
|
poetry install --all-extras --with dev
|
|
poetry run meshtastic --version
|
|
- name: Install meshtasticd (daily) from PPA
|
|
run: |
|
|
sudo add-apt-repository -y ppa:meshtastic/daily
|
|
sudo apt-get update
|
|
sudo apt-get install -y meshtasticd
|
|
- name: Run firmware smoke tests
|
|
run: poetry run pytest -m "smokevirt or smokemesh" -v
|
|
timeout-minutes: 15
|