Skip to content

FIX: define dev dependencies as dependency groups (#441) #208

FIX: define dev dependencies as dependency groups (#441)

FIX: define dev dependencies as dependency groups (#441) #208

name: Test with QRules v0.9
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PYTHONHASHSEED: "0"
on:
push:
branches:
- main
- epic/*
- "[0-9]+.[0-9]+.x"
pull_request:
branches:
- main
- epic/*
- "[0-9]+.[0-9]+.x"
workflow_dispatch:
jobs:
pytest:
name: Run unit tests
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Run pytest with QRules v0.9
run: |
uv run \
--group test \
--with qrules~=0.9.0 \
pytest --numprocesses auto