1
0
mirror of https://github.com/netbox-community/netbox-docker.git synced 2025-11-17 00:03:21 +03:00
Files
netbox-docker/hooks/test
2019-02-06 10:09:44 +01:00

13 lines
331 B
Bash
Executable File

#!/bin/bash
. hooks/common
if [ "${VARIANT}" == "main" ] && [ "${BUILD}" == "BRANCHES" ]; then
echo "🐳🐳🐳 Testing"
docker-compose pull --parallel
docker-compose build
docker-compose run netbox ./manage.py test
else
echo "🐳🐳🐳 No tests are implemented for build '${BUILD}' with variant '${VARIANT}'."
fi