commit
1b5fbfabc4
@ -1,4 +1,5 @@
|
|||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
@ -67,7 +68,14 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
mkdir -p /tmp/phpunit
|
mkdir -p /tmp/phpunit
|
||||||
./vendor/bin/phpunit --log-junit /tmp/phpunit/phpunit.xml
|
./vendor/bin/phpunit --log-junit /tmp/phpunit/phpunit.xml --coverage-clover=/tmp/phpunit/coverage.xml
|
||||||
when: always
|
when: always
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: /tmp/phpunit
|
path: /tmp/phpunit
|
||||||
|
- store_artifacts:
|
||||||
|
path: /tmp/phpunit/coverage.xml
|
||||||
|
|
||||||
|
# Upload coverage
|
||||||
|
- run:
|
||||||
|
command: bash <(curl -s https://codecov.io/bash) -f /tmp/phpunit/coverage.xml
|
||||||
|
when: always
|
||||||
|
Loading…
Reference in New Issue
Block a user