From 2ac637c662c371f4b2360e58394ec4f2fbb472cc Mon Sep 17 00:00:00 2001 From: Mark Paronyan Date: Sun, 27 Sep 2026 15:43:49 +0300 Subject: [PATCH] ci: run just test --- .github/workflows/testing.yml | 13 +++++-------- justfile | 2 ++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index d0bfa4f1a..42916ecf5 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -21,26 +21,23 @@ jobs: steps: - uses: actions/checkout@v7 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} cache: pip + - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install .[ai-features,dev] + - name: Install sharkd (marker replay engine) run: | sudo apt-get update sudo apt-get install -y wireshark-common - - name: Lint with flake8 + - name: Run all checks run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest - run: | - python -m pytest -vv + just test diff --git a/justfile b/justfile index b07fefc81..43528fd1c 100644 --- a/justfile +++ b/justfile @@ -20,6 +20,8 @@ format: lint: python -m ruff check --exit-non-zero-on-fix python -m ruff format --check --diff + python -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics [group('dev')] type-check: