From: Alexander Popov Date: Mon, 8 May 2023 12:27:18 +0000 (+0300) Subject: Test the package installation in the functional test in Woodpecker-CI X-Git-Tag: v0.6.6~160 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=4a4ec3aaf05d553324e84e84dd69dbb1c33401f7;hp=b9f7cd4bc151bdf88c48e93c3c978c2de0f47101;p=kconfig-hardened-check.git Test the package installation in the functional test in Woodpecker-CI --- diff --git a/.woodpecker/functional_test.yml b/.woodpecker/functional_test.yml index a9ae02a..4282e25 100644 --- a/.woodpecker/functional_test.yml +++ b/.woodpecker/functional_test.yml @@ -1,16 +1,16 @@ # .woodpecker.yml pipeline: - hello-step: + installation-test: image: python:3 + pull: true commands: - - echo "Hello, this is the functional test" - build: - image: python:3 - commands: - - echo "Building..." + - echo "Prepare for the installation..." + - cd .. + - pwd + - ls -la - python --version - a-test-step: - image: python:3 - commands: - - echo "Testing..." - - ./bin/kconfig-hardened-check + - echo "Install package via pip..." + - pip --verbose install --no-cache-dir git+https://github.com/a13xp0p0v/kconfig-hardened-check + - echo "Run the installed tool..." + - which kconfig-hardened-check + - kconfig-hardened-check