Force PIO update in unit-test action

This commit is contained in:
Josh Stewart 2021-08-20 23:01:53 +10:00 committed by GitHub
parent 22c92d1462
commit 427afffca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -38,8 +38,12 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install --upgrade platformio pip install --upgrade platformio
platformio update
platformio platform update
- name: Run Unit Tests - name: Run Unit Tests
env: env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }} PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
run: platformio remote test --force-remote --environment megaatmega2560 run: |
platformio run -e megaatmega2560
platformio remote test --force-remote --environment megaatmega2560