This commit is contained in:
Marco Mariani 2022-12-07 15:45:27 +01:00
parent 978872c1e6
commit 734c3d11fa
2 changed files with 18 additions and 2 deletions

16
tests/ansible/env/source-wizard.sh vendored Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
DB_BACKEND=sqlite
TEST_SUITE_GIT=https://github.com/crowdsecurity/crowdsec
TEST_SUITE_VERSION=mm-wizard
export DB_BACKEND
export PACKAGE_TESTING
export TEST_SUITE_GIT
export TEST_SUITE_VERSION
export TEST_SUITE_ZIP
export TEST_PACKAGE_VERSION_DEB
export TEST_PACKAGE_VERSION_RPM
export TEST_PACKAGE_FILE
export TEST_PACKAGE_DIR
export TEST_SKIP

View file

@ -45,7 +45,7 @@
pattern: "*.bats"
register: testfiles
- name: "Run BATS tests for source build"
- name: "Run BATS: functional tests for source build"
become: false
block:
- name: "Run test scripts"
@ -74,7 +74,7 @@
when:
- (package_testing is not defined) or (package_testing in ['', 'false', 'False'])
- name: "Run BATS tests for binary package"
- name: "Run BATS: functional tests for binary package"
become: true
block:
- name: "Run test scripts"