on: push: branches: - main - develop pull_request: branches: - main - develop jobs: test: runs-on: ubuntu-latest steps: - name: Checkout project uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v3 - name: Install PlatformIO run: pip install platformio - name: Build the project run: platformio run - name: Test the project run: platformio check --fail-on-defect high