Skip to content

Merge pull request #100 from govorox/95-release-130-fails-to-compile-… #108

Merge pull request #100 from govorox/95-release-130-fails-to-compile-…

Merge pull request #100 from govorox/95-release-130-fails-to-compile-… #108

Workflow file for this run

name: Run Unit Tests
on:
push:
branches:
- master
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install PlatformIO
run: |
pip install platformio
pio --version
- name: Set Environment MBEDTLS_VERSION_MAJOR Variable
run: echo "MBEDTLS_VERSION_MAJOR=3" >> $GITHUB_ENV
- name: Run tests - First Batch
run: pio test -e native -vvv
- name: Clean up - First Batch
run: pio run -t clean
- name: Set Environment MBEDTLS_BACKPORT Variable
run: echo "MBEDTLS_BACKPORT=true" >> $GITHUB_ENV
- name: Run tests - Second Batch
run: pio test -e native -vvv
- name: Clean up - Second Batch
run: pio run -t clean
- name: Set Environment W5500_WORKAROUND Variable
run: echo "W5500_WORKAROUND=true" >> $GITHUB_ENV
- name: Run tests - Third Batch
run: pio test -e native -vvv