Run PHPUnit

This commit is contained in:
James Cole
2020-08-01 05:44:26 +02:00
parent 57cb325639
commit a502594545
2 changed files with 11 additions and 1 deletions

10
.ci/phpunit.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/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