mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
add pio test
This commit is contained in:
parent
08648aa7c4
commit
d9b2f8d550
45
.github/workflows/build_check.yml
vendored
45
.github/workflows/build_check.yml
vendored
|
|
@ -16,13 +16,20 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Set up Python
|
- uses: actions/cache@v3
|
||||||
uses: actions/setup-python@v2
|
with:
|
||||||
- name: Install PlatformIO
|
path: |
|
||||||
run: python -m pip install --upgrade pip platformio
|
~/.cache/pip
|
||||||
- name: Run PlatformIO CI
|
~/.platformio/.cache
|
||||||
run: platformio run
|
key: ${{ runner.os }}-pio
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
|
- name: Install PlatformIO Core
|
||||||
|
run: pip install --upgrade platformio
|
||||||
|
- name: Build PlatformIO Project
|
||||||
|
run: pio run
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -70,3 +77,27 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: Cppcheck Report
|
name: Cppcheck Report
|
||||||
path: output
|
path: output
|
||||||
|
|
||||||
|
remote_testing:
|
||||||
|
name: Remote Testing
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cache/pip
|
||||||
|
~/.platformio/.cache
|
||||||
|
key: ${{ runner.os }}-pio
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
|
- name: Install PlatformIO Core
|
||||||
|
run: pip install --upgrade platformio
|
||||||
|
- name: list devices connected
|
||||||
|
run: pio remote device list
|
||||||
|
- name: run tests
|
||||||
|
run: pio remote test -v -r
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue