From 8afa6efc5660a1df2df767dc3509780f18ccc826 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Tue, 18 Jul 2023 09:40:09 +0200 Subject: [PATCH] chore: Verbose PIO CI --- .editorconfig | 4 +++ .github/workflows/platformio.yml | 48 ++++++++++++++++---------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/.editorconfig b/.editorconfig index 3c44241c..46834463 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,3 +7,7 @@ end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true + +[*.yml] +indent_size = 2 +trim_trailing_whitespace = false diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index ab0a9d21..d1716ac6 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -4,7 +4,7 @@ on: push: branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: platformio: @@ -44,26 +44,26 @@ jobs: - featheresp32 - pico32 steps: - - uses: actions/checkout@v2 - - name: Cache pip - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: ${{ runner.os }}-pip- - - name: Cache PlatformIO - uses: actions/cache@v2 - with: - path: ~/.platformio - key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} - - name: Set up Python - uses: actions/setup-python@v2 - - name: Install PlatformIO - run: | - python -m pip install --upgrade pip - pip install --upgrade platformio - pip install "click!=8.0.2" # See platformio/platformio-core#4078 - - name: Run PlatformIO - run: pio ci --lib="." --board="${{matrix.board}}" - env: - PLATFORMIO_CI_SRC: examples/${{ matrix.example }} + - uses: actions/checkout@v2 + - name: Cache pip + uses: actions/cache@v2 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: ${{ runner.os }}-pip- + - name: Cache PlatformIO + uses: actions/cache@v2 + with: + path: ~/.platformio + key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} + - name: Set up Python + uses: actions/setup-python@v2 + - name: Install PlatformIO + run: | + python -m pip install --upgrade pip + pip install --upgrade platformio + pip install "click!=8.0.2" # See platformio/platformio-core#4078 + - name: Run PlatformIO + run: pio ci --lib="." --board="${{matrix.board}}" --verbose + env: + PLATFORMIO_CI_SRC: examples/${{ matrix.example }}