kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_iGate
use new HW testing
rodzic
1371ccf545
commit
46b165f61c
|
@ -102,30 +102,12 @@ 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.DEPENDABOT_PAT }}
|
||||||
key: hw-cache
|
workflow_file_name: lora_aprs_igate.yml
|
||||||
- uses: actions/setup-python@v4
|
comment_downstream_url: ${{ github.event.pull_request.comments_url }}
|
||||||
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 }}"
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue