ci: run just test

This commit is contained in:
Mark Paronyan 2026-09-27 15:43:49 +03:00
parent 8dfe05df3d
commit 2ac637c662
No known key found for this signature in database
GPG Key ID: AA54BFC03DEA896A
2 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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: