Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 26 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,33 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install pytest
run: pip install pytest
- name: Install dependencies
run: pip install pytest pytest-cov

- name: Run tests
run: python -m pytest tests/ -v
- name: Run tests with coverage
run: python -m pytest tests/ -v --cov=framework --cov=prepare --cov-report=term-missing --cov-fail-under=70

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install linters
run: pip install "ruff>=0.8,<1.0" bandit

- name: Ruff lint
run: ruff check framework.py prepare.py

- name: Ruff format check
run: ruff format --check framework.py prepare.py

- name: Security scan (bandit)
run: bandit -r framework.py prepare.py -ll

shellcheck:
runs-on: ubuntu-latest
Expand Down
Loading
Loading