From aaf0a9a24999769a0bba9ec45968368ff0019012 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Tue, 4 Feb 2025 17:17:46 +0100 Subject: Improve the check_layout CI and output Change the format of check_layout.output to avoid adding any logs for layouts that do not trigger any warning. Fix the check_layout CI, which was broken since check_layout.py was changed to take arguments. --- .github/workflows/check-layouts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/check-layouts.yml b/.github/workflows/check-layouts.yml index 49d85a2..004b1ae 100644 --- a/.github/workflows/check-layouts.yml +++ b/.github/workflows/check-layouts.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - run: python3 gen_layouts.py - - name: "Check that the generated 'layouts.xml' is uptodate, otherwise run 'python3 gen_layouts.py'" + - name: "Run 'python3 gen_layouts.py' to update generated files" run: git diff --exit-code check-layouts: name: check_layout.output @@ -22,5 +22,5 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - run: python3 check_layout.py - - name: "Check that the generated 'check_layout.output' is uptodate, otherwise run 'python3 check_layout.py'" + - name: "Fix your layout accordingly or run 'python3 check_layout.py' to promote the warnings" run: git diff --exit-code -- cgit v1.2.3