Attempting to clean up directories

This commit is contained in:
Beshoy Girgis
2020-12-05 06:41:19 +00:00
parent 02ef17f5ba
commit 2e17734d48
2 changed files with 7 additions and 8 deletions
+1 -2
View File
@@ -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
View File
@@ -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>