Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ on:
push:
branches:
- main
-


jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- name: Install Pre-Commit
run: python -m pip install pre-commit && pre-commit install
- name: Load cached Pre-Commit Dependencies
Expand All @@ -30,14 +31,14 @@ jobs:
fail-fast: true
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
pytest-version:
- "7"
- "8"
- "9"
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_language_version:
python: "3.12"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.14.5
hooks:
- id: ruff
args: ["--fix"]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
{ name = "Janek Nouvertné", email = "provinzkraut@posteo.de" },
]
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
classifiers = [
"Framework :: Pytest",
"Intended Audience :: Developers",
Expand All @@ -23,7 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pytest>=7",
"pytest>=8",
]


Expand Down
2 changes: 1 addition & 1 deletion pytest_cdist/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def check_reports(reports: list[dict[str, Any]]) -> list[str]:
errors.append("Collected different items between runs")
else:
all_selected = [item for report in reports for item in report["selected"]]
if all_selected != reports[0]["collected"]:
if len(all_selected) != len(reports[0]["collected"]):
errors.append("Items missing during collection")

return errors
Expand Down
Loading