Skip to content

Commit 0023e49

Browse files
Merge pull request #39 from borgbackup/updates
migrate tox configuration to pyproject.toml
2 parents edd9665 + c38f595 commit 0023e49

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- os: ubuntu-22.04
3535
python-version: '3.9'
3636
toxenv: py39
37+
- os: ubuntu-24.04
38+
python-version: '3.13'
39+
toxenv: py313
3740

3841
env:
3942
TOXENV: ${{ matrix.toxenv }}

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,15 @@ build-backend = "setuptools.build_meta"
4040

4141
[tool.pytest.ini_options]
4242
markers = []
43+
44+
45+
[tool.tox]
46+
env_list = ["py39", "py310", "py311", "py312", "py313"]
47+
48+
[tool.tox.env]
49+
50+
[tool.tox.env.py]
51+
deps = ["pytest", "pytest-benchmark"]
52+
commands = [
53+
["pytest", "-v", "-rs", "--benchmark-columns=mean", "--benchmark-sort=name", "--benchmark-group-by=func"]
54+
]

tox.ini

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)