From 2ceb94a96666d3bb22547076610aa551df4b7129 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sat, 23 Aug 2025 01:45:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7(summary)=20add=20CI=20job=20to=20l?= =?UTF-8?q?int=20Python=20summary=20sources?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement CI job to lint summary Python sources and enforce merging only linted code to maintain code quality standards. --- .github/workflows/meet.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/meet.yml b/.github/workflows/meet.yml index d02e5d1e..adbdc044 100644 --- a/.github/workflows/meet.yml +++ b/.github/workflows/meet.yml @@ -112,6 +112,26 @@ jobs: - name: Lint code with ruff run: ~/.local/bin/ruff check . + lint-summary: + runs-on: ubuntu-latest + defaults: + run: + working-directory: src/summary + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + cache: "pip" + - name: Install development dependencies + run: pip install --user .[dev] + - name: Check code formatting with ruff + run: ~/.local/bin/ruff format . --diff + - name: Lint code with ruff + run: ~/.local/bin/ruff check . + test-back: runs-on: ubuntu-latest needs: build-mails