Skip to content

Update ruff requirement from <0.14,>=0.9.0 to >=0.9.0,<0.15 #618

Update ruff requirement from <0.14,>=0.9.0 to >=0.9.0,<0.15

Update ruff requirement from <0.14,>=0.9.0 to >=0.9.0,<0.15 #618

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
cache-dependency-glob: "uv.lock"
enable-cache: true
python-version: ${{ matrix.python-version }}
- run: uv sync
- name: Test
run: |
uv run ruff check .
uv run coverage run manage.py test
uv run coverage xml
- name: codecov-umbrella
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
fail_ci_if_error: false
verbose: true