photoprism/scripts/test.sh
2022-01-18 18:08:17 +01:00

12 lines
330 B
Bash
Executable file

#!/usr/bin/env bash
set -e
# Login
scripts/docker/login.sh
# Run tests
docker-compose -f docker-compose.ci.yml pull
docker-compose -f docker-compose.ci.yml build
trap "docker rm -f -v photoprism-test " INT TERM
docker-compose -f docker-compose.ci.yml run --name photoprism-test --rm -T photoprism make all test install migrate