Loading .gitlab-ci.yml +5 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ include: - local: "pipelines/poetry/docker-pro.yml" - local: "python/flake8.yml" - local: "python/pylic.yml" - local: "c/cppcheck.yml" - local: "c/flawfinder.yml" Loading Loading @@ -67,6 +68,10 @@ python:flake8: before_script: - cd templates_tests/python python:pylic: before_script: - cd templates_tests/python docker:kaniko:python-old: extends: docker:kaniko variables: Loading python/pylic.yml 0 → 100644 +11 −0 Original line number Diff line number Diff line --- # Check the package repo on how to configure this job # https://github.com/sandrochuber/pylic python:pylic: stage: test image: registry.gitlab.com/notno/python-tests script: - pip install pylic - pylic needs: [] templates_tests/python/pyproject.toml +20 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,23 @@ build-backend = "poetry.core.masonry.api" [tool.semantic_release] version_variable = "pyproject.toml:version" [tool.pylic] safe_licenses = [ "Apache Software License", "Apache License 2.0", "MIT License", "MIT", "Python Software Foundation License", "Mozilla Public License 2.0 (MPL 2.0)", "Freely Distributable", "GNU Library or Lesser General Public License (LGPL)", "BSD License", "GNU General Public License v3 (GPLv3)", "Public Domain", "GNU General Public License v2 (GPLv2)", "GNU Lesser General Public License v2 (LGPLv2)", "ISC License (ISCL)", "OSI Approved" ] unsafe_packages = [] Loading
.gitlab-ci.yml +5 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ include: - local: "pipelines/poetry/docker-pro.yml" - local: "python/flake8.yml" - local: "python/pylic.yml" - local: "c/cppcheck.yml" - local: "c/flawfinder.yml" Loading Loading @@ -67,6 +68,10 @@ python:flake8: before_script: - cd templates_tests/python python:pylic: before_script: - cd templates_tests/python docker:kaniko:python-old: extends: docker:kaniko variables: Loading
python/pylic.yml 0 → 100644 +11 −0 Original line number Diff line number Diff line --- # Check the package repo on how to configure this job # https://github.com/sandrochuber/pylic python:pylic: stage: test image: registry.gitlab.com/notno/python-tests script: - pip install pylic - pylic needs: []
templates_tests/python/pyproject.toml +20 −0 Original line number Diff line number Diff line Loading @@ -23,3 +23,23 @@ build-backend = "poetry.core.masonry.api" [tool.semantic_release] version_variable = "pyproject.toml:version" [tool.pylic] safe_licenses = [ "Apache Software License", "Apache License 2.0", "MIT License", "MIT", "Python Software Foundation License", "Mozilla Public License 2.0 (MPL 2.0)", "Freely Distributable", "GNU Library or Lesser General Public License (LGPL)", "BSD License", "GNU General Public License v3 (GPLv3)", "Public Domain", "GNU General Public License v2 (GPLv2)", "GNU Lesser General Public License v2 (LGPLv2)", "ISC License (ISCL)", "OSI Approved" ] unsafe_packages = []