lets try this

This commit is contained in:
Peter Buchegger 2023-02-19 11:21:17 +01:00
parent 480753f86c
commit 9aa0f8b345

View file

@ -84,14 +84,31 @@ jobs:
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
steps:
- name: Try and fix cryptography
run: sudo apt install -y libffi-dev python3-dev libssl-dev
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up 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
uses: karniv00l/platformio-remote-test-action@v1
with:
force-remote: true
verbose: true
upload-port: "/dev/ttyUSB1"
test-port: "/dev/ttyUSB1"
run: pio remote test -v -r --upload-port /dev/ttyUSB4 --test-port /dev/ttyUSB4