Skip to content

build(deps-dev): update uv-build requirement from <0.7,>=0.6.5 to >=0.6.5,<0.11 #6

build(deps-dev): update uv-build requirement from <0.7,>=0.6.5 to >=0.6.5,<0.11

build(deps-dev): update uv-build requirement from <0.7,>=0.6.5 to >=0.6.5,<0.11 #6

Workflow file for this run

name: Lint and Test
on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"] # TODO see https://github.com/mitre-attack/mitreattack-python/issues/176
steps:
- uses: actions/checkout@v6
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-extras
- name: Lint with ruff
run: uv run ruff check --output-format github
- name: Check formatting with ruff
run: uv run ruff format --check
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"] # TODO see https://github.com/mitre-attack/mitreattack-python/issues/176
steps:
- uses: actions/checkout@v6
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-extras
- name: Run pytest
run: uv run pytest --cov=mitreattack