mirror of
https://github.com/filegator/filegator.git
synced 2025-08-12 08:44:05 +02:00
Codecov setup with GitHub Actions
This commit is contained in:
8
.github/workflows/php.yml
vendored
8
.github/workflows/php.yml
vendored
@@ -28,4 +28,10 @@ jobs:
|
|||||||
run: cp configuration_sample.php configuration.php
|
run: cp configuration_sample.php configuration.php
|
||||||
|
|
||||||
- name: Execute tests
|
- name: Execute tests
|
||||||
run: vendor/bin/phpunit
|
run: vendor/bin/phpunit --coverage-clover=coverage.xml
|
||||||
|
|
||||||
|
- name: Upload coverage to Codecov
|
||||||
|
uses: codecov/codecov-action@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
file: ./coverage.xml
|
||||||
|
Reference in New Issue
Block a user