diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e4dda9..db6c584 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,8 +13,9 @@ on: jobs: test: - env: - PYTHON_VERSION: "3.12" + strategy: + matrix: + py_version: ["3.8", "3.9", "3.10", "3.11", "3.12"] runs-on: ubuntu-latest steps: - name: Checkout @@ -22,11 +23,11 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: ${{ matrix.py_version }} - name: Install virtual environment run: pip3 install poetry - name: Ensure Python version - run: poetry env use ${{ env.PYTHON_VERSION }} + run: poetry env use ${{ matrix.py_version }} - name: Install dependencies run: poetry install --without workflow --no-root - name: Execute Tests and create test coverage report diff --git a/config/license/allowlist.json b/config/license/allowlist.json index 43601b1..80ff5ba 100644 --- a/config/license/allowlist.json +++ b/config/license/allowlist.json @@ -9,6 +9,24 @@ "actualLicense": "MIT", "violationAllowance": "" }, + { + "moduleLicense": "Apache-2.0", + "moduleVersion": "6.4.0", + "moduleName": "importlib-resources", + "licenseUrl": "https://github.com/python/importlib_resources/blob/v6.4.0/LICENSE", + "moduleCopyright": "", + "actualLicense": "Apache-2.0", + "violationAllowance": "" + }, + { + "moduleLicense": "MIT", + "moduleVersion": "1.3.10", + "moduleName": "pkgutil-resolve-name", + "licenseUrl": "https://github.com/graingert/pkgutil-resolve-name/blob/default/LICENSE", + "moduleCopyright": "Copyright (c) 2020 Thomas Grainger", + "actualLicense": "MIT", + "violationAllowance": "" + }, { "moduleLicense": "MIT", "moduleVersion": "4.16.0", @@ -26,6 +44,15 @@ "moduleCopyright": "Copyright (c) 2023 Tobias Gustafsson", "actualLicense": "MIT", "violationAllowance": "" + }, + { + "moduleLicense": "MIT", + "moduleVersion": "3.18.1", + "moduleName": "zipp", + "licenseUrl": "https://github.com/jaraco/zipp/blob/v3.18.1/LICENSE", + "moduleCopyright": "", + "actualLicense": "MIT", + "violationAllowance": "" } ] } diff --git a/pyproject.toml b/pyproject.toml index ff6a824..d1e3ea3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ authors = [ "tracetronic GmbH",] readme = "README.md" [tool.poetry.dependencies] -python = "~3.12" +python = ">=3.8,<4.0" jsonschema = "==4.16.0" [tool.poetry.group.workflow.dependencies]