Skip to content

Commit 655619e

Browse files
committed
pytest --iterations=8 --parallel-threads=auto
1 parent e5f15a4 commit 655619e

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/python_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- name: Lint with ruff # See pyproject.toml for settings
3636
uses: astral-sh/ruff-action@v3
3737
- run: ruff format --check --diff
38-
- name: Test with pytest # See pyproject.toml for settings
39-
run: pytest
38+
- name: Test with pytest
39+
run: pytest --iterations=8 --parallel-threads=auto
4040
# - name: Run doctests with pytest
4141
# run: pytest --doctest-modules
4242
- name: Test CLI commands on a pipx install

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = [
1111
description = "A fork of the GYP build system for use in the Node.js projects"
1212
readme = "README.md"
1313
license = { file="LICENSE" }
14-
requires-python = ">=3.8"
14+
requires-python = ">=3.9"
1515
dependencies = ["packaging>=24.0", "setuptools>=69.5.1"]
1616
classifiers = [
1717
"Development Status :: 3 - Alpha",
@@ -21,14 +21,17 @@ classifiers = [
2121
"Natural Language :: English",
2222
"Programming Language :: Python",
2323
"Programming Language :: Python :: 3",
24-
"Programming Language :: Python :: 3.8",
2524
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
29+
"Programming Language :: Python :: 3.14",
30+
"Programming Language :: Python :: Free Threading",
2831
]
2932

3033
[project.optional-dependencies]
31-
dev = ["pytest", "ruff"]
34+
dev = ["pytest", "pytest-run-parallel", "ruff"]
3235

3336
[project.scripts]
3437
gyp = "gyp:script_main"
@@ -42,6 +45,7 @@ line-length = 88
4245

4346
[tool.ruff.lint]
4447
select = [
48+
"ASYNC", # flake8-async
4549
"C4", # flake8-comprehensions
4650
"C90", # McCabe cyclomatic complexity
4751
"DTZ", # flake8-datetimez

0 commit comments

Comments
 (0)