firefly-iii/.ci/phpunit.sh

11 lines
292 B
Bash
Raw Normal View History

2020-07-31 22:44:26 -05:00
#!/usr/bin/env bash
# enable test .env file.
cp .ci/.env.ci ../.env
# download test database
wget --quiet https://raw.githubusercontent.com/firefly-iii/test-data/main/test_db.sqlite -o storage/database/test_db.sqlite
# run phpunit
./vendor/bin/phpunit --configuration phpunit.coverage.xml