Loading python/pylic.yml +10 −2 Original line number Diff line number Diff line Loading @@ -2,12 +2,20 @@ # Check the package repo on how to configure this job # https://github.com/sandrochuber/pylic # Be warned that this only checks installed packages. # This job does not install optional dependencies and there # is currently no reliable method to detect these. # Add packages to the EXTRA_PACKAGES variable to install these. python:pylic: stage: test image: python:slim before_script: - pip install . variables: EXTRA_PACKAGES: "" # Optional packages script: - pip install . ${EXTRA_PACKAGES} - pip install pylic - echo "[*] The following packages, with their respective version, will be checked:" - pip freeze --all - pylic needs: [] templates_tests/python/pyproject.toml +3 −1 Original line number Diff line number Diff line Loading @@ -29,4 +29,6 @@ safe_licenses = [ "Apache Software License", "MIT License" ] unsafe_packages = [] unsafe_packages = [ "mypackage", ] Loading
python/pylic.yml +10 −2 Original line number Diff line number Diff line Loading @@ -2,12 +2,20 @@ # Check the package repo on how to configure this job # https://github.com/sandrochuber/pylic # Be warned that this only checks installed packages. # This job does not install optional dependencies and there # is currently no reliable method to detect these. # Add packages to the EXTRA_PACKAGES variable to install these. python:pylic: stage: test image: python:slim before_script: - pip install . variables: EXTRA_PACKAGES: "" # Optional packages script: - pip install . ${EXTRA_PACKAGES} - pip install pylic - echo "[*] The following packages, with their respective version, will be checked:" - pip freeze --all - pylic needs: []
templates_tests/python/pyproject.toml +3 −1 Original line number Diff line number Diff line Loading @@ -29,4 +29,6 @@ safe_licenses = [ "Apache Software License", "MIT License" ] unsafe_packages = [] unsafe_packages = [ "mypackage", ]