wip
This commit is contained in:
parent
978872c1e6
commit
734c3d11fa
2 changed files with 18 additions and 2 deletions
16
tests/ansible/env/source-wizard.sh
vendored
Executable file
16
tests/ansible/env/source-wizard.sh
vendored
Executable 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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue