Merge pull request #670 from devimc/topic/snap/runAllTests

snap/ci: run all tests in the CI
This commit is contained in:
Salvador Fuentes 2019-08-19 14:36:49 -05:00 committed by GitHub
commit c80a4afded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,22 +16,7 @@ source /etc/os-release
SNAP_CI="${SNAP_CI:-false}" SNAP_CI="${SNAP_CI:-false}"
pushd "${tests_repo_dir}" pushd "${tests_repo_dir}"
.ci/run.sh
if [ "$SNAP_CI" == "true" ] && [ "$ID" == "ubuntu" ]; then
export RUNTIME="kata-runtime"
export CI_JOB="${CI_JOB:-default}"
echo "INFO: Running checks"
sudo -E PATH="$PATH" bash -c "make check"
echo "INFO: Running only supported tests: https://github.com/kata-containers/tests/issues/1495"
sudo -E PATH="$PATH" bash -c \
"make functional docker crio docker-compose network netmon \
docker-stability oci openshift kubernetes swarm \
entropy ramdisk tracing"
else
.ci/run.sh
fi
popd popd
# This script will execute packaging tests suite # This script will execute packaging tests suite