Skip to content
Closed
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
15 changes: 12 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand All @@ -27,8 +27,17 @@ jobs:
pip install poetry twine
poetry install --with dev

- name: Run tests
run: poetry run pytest
- name: Lint with Ruff
run: poetry run ruff check .

- name: Run tests with coverage
run: |
poetry run pytest --cov=tfsumpy --cov-report=term
poetry run coverage report --fail-under=75

- name: Coverage reminder
if: success()
run: echo "::notice ::Current threshold is 75%. PRs that raise coverage are welcome!"

- name: Build package
run: poetry build
Expand Down
12 changes: 11 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[project]
name = "tfsumpy"
version = "0.2.0"
requires-python = ">=3.10,<4.0"

[tool.poetry]
name = "tfsumpy"
version = "0.2.0"
Expand All @@ -16,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Systems Administration"
]
Expand All @@ -35,13 +41,17 @@ jinja2 = "^3.1.6"
[tool.poetry.group.dev.dependencies]
pytest-cov = ">=4.1.0"
pytest-mock = ">=3.6.1"
ruff = ">=0.4.0"
mypy = ">=1.10.0"
coverage = ">=7.2.0"

[tool.poetry.extras]
dev = [
"pytest-cov",
"pytest-mock",
"coverage"
"coverage",
"ruff",
"mypy"
]

[tool.poetry.scripts]
Expand Down
Loading