From 4a4ec3aaf05d553324e84e84dd69dbb1c33401f7 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 8 May 2023 15:27:18 +0300 Subject: [PATCH] Test the package installation in the functional test in Woodpecker-CI --- .woodpecker/functional_test.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 -- 2.31.1