Skip to content

add vulture dependency #4

add vulture dependency

add vulture dependency #4

Workflow file for this run

name: Main
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
python-version: "3.13"
- name: Code issue check
run: uv run ruff check .
- name: Code format check
run: uv run ruff format --check .
- name: Dead code check
run: uv run vulture .
- name: Dependency check
run: uv run deptry .
typing:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
python-version: ${{ matrix.python-version }}
- name: Run mypy
run: uv run mypy .
tests:
needs: typing
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
python-version: ${{ matrix.python-version }}
- name: Run robot acceptance tests
run: uv run robotcode robot .
- name: Run pytest unit tests
run: uv run pytest .