fix: better link for arduino libraries #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |