From 776ae15897c45fc3ff25e946ade04ea86498fe24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Sat, 14 Jun 2025 19:03:00 +0200 Subject: [PATCH] feat: CI for unit tests + explicit Python 3.13 & 3.14 support --- .github/workflows/tests.yml | 25 +++++++++++++++++++++++++ pyproject.toml | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..a1dd730 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,25 @@ +name: Unit Tests + +on: + pull_request: + +jobs: + tests: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python: + - "3.10" + - "3.11" + - "3.12" + - "3.13" + - "3.14-dev" + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + - name: Unit tests + run: python -m unittest tests/*/*.py diff --git a/pyproject.toml b/pyproject.toml index 2efe9ee..92cd0d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Typing :: Typed", "Operating System :: OS Independent", "Intended Audience :: Developers",