mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Attempting to clean up directories
This commit is contained in:
@@ -35,7 +35,6 @@ jobs:
|
||||
- name: Create Database
|
||||
run: |
|
||||
mysql -h 127.0.0.1 -u root -e "SET GLOBAL innodb_file_per_table = 1;"
|
||||
mysql -h 127.0.0.1 -u root -e "GRANT ALL ON TEST.* TO 'TEST'@'localhost' IDENTIFIED BY 'TEST';"
|
||||
if [[ -f /etc/mysql/my.cnf ]]; then sudo sed -i "s/\[mysqld\]/\[mysqld\]\ngroup_concat_max_len = 8192/" /etc/mysql/my.cnf; fi
|
||||
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
||||
env:
|
||||
@@ -43,5 +42,5 @@ jobs:
|
||||
DB_DATABASE: TEST
|
||||
run: |
|
||||
mkdir -p /home/runner/work/newznab-tmux/newznab-tmux/tests/Unit
|
||||
mkdir -p /home/runner/work/newznab-tmux/newznab-tmux/build/logs
|
||||
mkdir -p /home/runner/work/newznab-tmux/newznab-tmux/tests/build/logs
|
||||
vendor/bin/phpunit
|
||||
|
||||
+6
-6
@@ -10,22 +10,22 @@
|
||||
stopOnFailure="false">
|
||||
<testsuites>
|
||||
<testsuite name="Install">
|
||||
<directory suffix="Test.php">./tests/Install</directory>
|
||||
<directory suffix="Test.php">tests/Install</directory>
|
||||
</testsuite>
|
||||
|
||||
<testsuite name="Unit">
|
||||
<directory suffix="Test.php">./tests/Unit</directory>
|
||||
<directory suffix="Test.php">tests/Unit</directory>
|
||||
</testsuite>
|
||||
|
||||
<testsuite name="Feature">
|
||||
<directory suffix="Test.php">./tests/Feature</directory>
|
||||
<directory suffix="Test.php">tests/Feature</directory>
|
||||
</testsuite>
|
||||
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">./Blacklight</directory>
|
||||
<directory suffix=".php">./app</directory>
|
||||
<directory suffix=".php">Blacklight</directory>
|
||||
<directory suffix=".php">app</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<php>
|
||||
@@ -37,6 +37,6 @@
|
||||
<env name="MAIL_DRIVER" value="array"/>
|
||||
</php>
|
||||
<logging>
|
||||
<log type="coverage-clover" target="/build/logs/clover.xml"/>
|
||||
<log type="coverage-clover" target="tests/build/logs/clover.xml"/>
|
||||
</logging>
|
||||
</phpunit>
|
||||
|
||||
Reference in New Issue
Block a user