From 9c0d0362b28a836c2a03ea98146f3ac174776067 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalenko Date: Sat, 24 Jan 2026 13:10:30 +0300 Subject: [PATCH] [CI] Lint stage is added Do not run tests if ling fails. --- .github/workflows/package-verification.yml | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package-verification.yml b/.github/workflows/package-verification.yml index b72fbd2..b3dc935 100644 --- a/.github/workflows/package-verification.yml +++ b/.github/workflows/package-verification.yml @@ -10,9 +10,31 @@ on: branches: [ "master" ] jobs: - build: + lint: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install flake8 flake8-pyproject + - name: Lint with flake8 + run: | + flake8 . + test: runs-on: ubuntu-latest + needs: lint strategy: fail-fast: false matrix: @@ -61,4 +83,3 @@ jobs: with: name: container-logs--${{ matrix.platform }}-py${{ matrix.python }} path: "${{ env.RUN_CFG__LOGS_DIR }}/" -