diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index b4b749ec..b0e3fdf1 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -44,12 +44,19 @@ jobs: run: twine check "dist/$( python setup.py --fullname ).tar.gz" test: - runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python: ["37", "38", "39", "310", "311"] - name: test (python ${{ matrix.python }}) + version: + - {python: "3.7", os: ubuntu-22.04} + - {python: "3.8", os: ubuntu-latest} + - {python: "3.9", os: ubuntu-latest} + - {python: "3.10", os: ubuntu-latest} + - {python: "3.11", os: ubuntu-latest} + - {python: "3.12", os: ubuntu-latest} + - {python: "3.13", os: ubuntu-latest} + runs-on: ${{ matrix.version.os }} + name: test (python ${{ matrix.version.python }}) steps: - name: Checkout 🛎️ uses: actions/checkout@v4 @@ -57,10 +64,10 @@ jobs: persist-credentials: false - name: Pull docker image 🐳 - run: docker pull riga/law:py${{ matrix.python }} + run: docker pull riga/law:py${{ matrix.version.python }} - name: Test 🎢 - run: ./tests/docker.sh riga/law:py${{ matrix.python }} + run: ./tests/docker.sh riga/law:py${{ matrix.version.python }} coverage: runs-on: ubuntu-latest @@ -78,7 +85,7 @@ jobs: run: ./tests/docker.sh riga/law ./tests/coverage.sh - name: Upload report 🔝 - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml diff --git a/LICENSE b/LICENSE index d3b18e2b..10d74e6f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2018-2024, Marcel Rieger +Copyright (c) 2018-2025, Marcel Rieger All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/law/__version__.py b/law/__version__.py index 63aa502c..2aade69c 100644 --- a/law/__version__.py +++ b/law/__version__.py @@ -7,7 +7,7 @@ __author__ = "Marcel Rieger" __email__ = "github.riga@icloud.com" -__copyright__ = "Copyright 2018-2024, Marcel Rieger" +__copyright__ = "Copyright 2018-2025, Marcel Rieger" __credits__ = ["Marcel Rieger"] __contact__ = "https://github.com/riga/law" __license__ = "BSD-3-Clause" diff --git a/setup.py b/setup.py index 82f7438a..3b112424 100644 --- a/setup.py +++ b/setup.py @@ -31,6 +31,8 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "License :: OSI Approved :: BSD License",