mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
Merge pull request #316 from lora-aprs/peterus-patch-1
use new HW testing
This commit is contained in:
commit
938e79cde9
31
.github/workflows/build_check.yml
vendored
31
.github/workflows/build_check.yml
vendored
|
|
@ -102,30 +102,11 @@ jobs:
|
||||||
|
|
||||||
hw_testing:
|
hw_testing:
|
||||||
name: Hardware Testing
|
name: Hardware Testing
|
||||||
strategy:
|
runs-on: ubuntu-latest
|
||||||
matrix:
|
|
||||||
usb_port: [ttyUSB0]
|
|
||||||
runs-on: [self-hosted, "${{ matrix.usb_port }}"]
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/cache@v3
|
- uses: convictional/trigger-workflow-and-wait@v1.6.1
|
||||||
with:
|
with:
|
||||||
path: |
|
owner: peterus
|
||||||
~/.cache/pip
|
repo: ESP-Boards
|
||||||
~/.platformio/.cache
|
github_token: ${{ secrets.PAT }}
|
||||||
key: hw-cache
|
workflow_file_name: lora_aprs_igate.yml
|
||||||
- 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 device list
|
|
||||||
- name: PlatformIO Test
|
|
||||||
if: always()
|
|
||||||
run: flock -w 600 --verbose /locks/pio-${{ matrix.usb_port }} -c "pio test -vvv --upload-port /dev/${{ matrix.usb_port }} --test-port /dev/${{ matrix.usb_port }}"
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue