Skip to content

ci: drop four unused imports flagged by flake8 F401 #2

ci: drop four unused imports flagged by flake8 F401

ci: drop four unused imports flagged by flake8 F401 #2

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint (flake8)
run: flake8 cleantest_agent/ tests/ --max-line-length=120
- name: Type check (mypy)
run: mypy cleantest_agent/ --ignore-missing-imports
- name: Unit tests
run: pytest tests/ -v --tb=short --cov=cleantest_agent --cov-report=xml
- name: Upload coverage
if: matrix.python-version == '3.11'
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml