kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_iGate
update hw testing
rodzic
82a2666241
commit
82d32e1f24
|
@ -78,19 +78,56 @@ jobs:
|
|||
path: output
|
||||
|
||||
|
||||
remote_testing:
|
||||
name: Remote Testing
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
|
||||
#remote_testing:
|
||||
# name: Remote Testing
|
||||
# runs-on: ubuntu-20.04
|
||||
# env:
|
||||
# PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
|
||||
# steps:
|
||||
# - name: Setup Cache
|
||||
# uses: actions/cache@v3
|
||||
# with:
|
||||
# path: |
|
||||
# ~/.cache/pip
|
||||
# ~/.platformio
|
||||
# key: remote-cache
|
||||
# - name: Setup Python
|
||||
# uses: actions/setup-python@v4
|
||||
# with:
|
||||
# python-version: '3.10'
|
||||
# - name: Install PlatformIO
|
||||
# shell: bash
|
||||
# run: |
|
||||
# python -m pip install --upgrade pip
|
||||
# pip install --upgrade platformio
|
||||
#
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v3
|
||||
# - name: List Devices
|
||||
# run: pio remote device list
|
||||
# - name: PlatformIO Test
|
||||
# run: pio remote test -v -r --upload-port /dev/ttyUSB4 --test-port /dev/ttyUSB4
|
||||
|
||||
hw_testing:
|
||||
name: Hardware Testing
|
||||
runs-on: self-hosted
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- board: 'board0'
|
||||
port: '/dev/ttyUSB0'
|
||||
- board: 'board1'
|
||||
port: '/dev/ttyUSB1'
|
||||
- board: 'board2'
|
||||
port: '/dev/ttyUSB2'
|
||||
steps:
|
||||
- name: Setup Cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cache/pip
|
||||
~/.platformio
|
||||
key: remote-cache
|
||||
.cache/pip
|
||||
.platformio
|
||||
key: hw-cache
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
|
@ -100,10 +137,7 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --upgrade platformio
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: List Devices
|
||||
run: pio remote device list
|
||||
- name: PlatformIO Test
|
||||
run: pio remote test -v -r --upload-port /dev/ttyUSB4 --test-port /dev/ttyUSB4
|
||||
run: pio test --upload-port ${{ matrix.port }} --test-port ${{ matrix.port }}
|
||||
|
|
Ładowanie…
Reference in New Issue