Skip to content

Commit

Permalink
License.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga authored Jan 4, 2025
1 parent 004a535 commit 5efca6a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,30 @@ 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
with:
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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion law/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

__author__ = "Marcel Rieger"
__email__ = "[email protected]"
__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"
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5efca6a

Please sign in to comment.