mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Run PHPUnit
This commit is contained in:
parent
57cb325639
commit
a502594545
10
.ci/phpunit.sh
Executable file
10
.ci/phpunit.sh
Executable 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
|
@ -16,6 +16,6 @@ before_script:
|
||||
- phpenv config-rm xdebug.ini || return 0
|
||||
- composer global require hirak/prestissimo --no-plugins --no-scripts
|
||||
|
||||
|
||||
script:
|
||||
- "./.ci/phpstan.sh"
|
||||
- "./.ci/phpunit.sh"
|
Loading…
Reference in New Issue
Block a user