From 69f024fa190e5e7c011f46cc628a37323978e526 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Fri, 23 Jan 2026 10:16:16 -0800 Subject: [PATCH 1/2] Added pytest validation workflow. --- .github/workflows/pytest.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/pytest.yml diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 0000000..bfbe828 --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,30 @@ +name: Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e ".[dev]" + + - name: Run tests + run: pytest tests/ From 281f83cd5b51cb163072b07b62ffdcfa106d0eff Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Fri, 23 Jan 2026 10:27:59 -0800 Subject: [PATCH 2/2] Update Python version requirements in pyproject.toml and adjust GitHub Actions workflow to support only Python 3.11 and 3.12 --- .github/workflows/pytest.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index bfbe828..999ab43 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 433121c..b5068d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ maintainers = [ { name="Revar Desmera", email="revarbat@gmail.com" }, ] license = "MIT" -requires-python = ">=3.7" +requires-python = ">=3.11" classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console",