diff --git a/.github/workflows/daily_simradio.yml b/.github/workflows/daily_simradio.yml new file mode 100644 index 0000000..38202d6 --- /dev/null +++ b/.github/workflows/daily_simradio.yml @@ -0,0 +1,36 @@ +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/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