name: PlatformIO flow run-name: ${{ gitea.actor }} is testing on: push: branches: - '*' tags: - '*' jobs: build: runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v4 - name: Configure caching uses: actions/cache@v3 with: path: | ~/.cache/pip ~/.platformio/.cache key: ${{ runner.os }}-pio - name: Set up Python uses: actions/setup-python@v5 with: python-version: 'pypy3.9' - name: Install PlatformIO Core run: | python -m pip install --upgrade pip pip install --upgrade platformio - name: Run native unit tests run: | pio test