Unverified Commit 657464f1 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Display offending lines in Style CI failure (#174)

parent 799e3a03
...@@ -31,14 +31,19 @@ jobs: ...@@ -31,14 +31,19 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
submodules: false submodules: false
- run: | - name: Check package references
run: |
./tests/ci/pkgrefs_test.sh ./tests/ci/pkgrefs_test.sh
- name: Check boards.txt was not edited after makeboards.py
run: |
./tools/makeboards.py > boards.txt ./tools/makeboards.py > boards.txt
- name: Run astyle on all code/examples
run: |
sudo apt update sudo apt update
sudo apt install astyle sudo apt install astyle
./tests/restyle.sh ./tests/restyle.sh
# If anything changed, GIT should return an error and fail the test # If anything changed, GIT should return an error and fail the test
git diff --quiet --exit-code git diff --exit-code
# Build all examples on linux (core and Arduino IDE) # Build all examples on linux (core and Arduino IDE)
build-linux: build-linux:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment