mirror of https://github.com/kcal-app/kcal.git
Enable parallel testing in CI
This commit is contained in:
parent
4d7db92700
commit
dbc4ad701a
|
@ -35,8 +35,8 @@ jobs:
|
||||||
php -r "file_exists('.env') || copy('.env.example', '.env');"
|
php -r "file_exists('.env') || copy('.env.example', '.env');"
|
||||||
php artisan key:generate
|
php artisan key:generate
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
|
run: vendor/bin/paratest --coverage-clover build/cov/clover.xml
|
||||||
- name: Upload coverage results to Coveralls
|
- name: Upload coverage results to Coveralls
|
||||||
env:
|
env:
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
|
run: vendor/bin/php-coveralls --coverage_clover=build/cov/clover.xml -v
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<directory suffix="Test.php">./tests/Feature</directory>
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<coverage processUncoveredFiles="true">
|
<coverage cacheDirectory="build/cov/cache" processUncoveredFiles="true">
|
||||||
<include>
|
<include>
|
||||||
<directory suffix=".php">./app</directory>
|
<directory suffix=".php">./app</directory>
|
||||||
</include>
|
</include>
|
||||||
|
|
Loading…
Reference in New Issue