git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e5288e
)
small gha workflow improvement
author
gggeek
<giunta.gaetano@gmail.com>
Thu, 9 Dec 2021 23:40:51 +0000
(23:40 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Thu, 9 Dec 2021 23:40:51 +0000
(23:40 +0000)
.github/workflows/ci.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/ci.yml
b/.github/workflows/ci.yml
index
d4d2fc9
..
93b5ff7
100644
(file)
--- a/
.github/workflows/ci.yml
+++ b/
.github/workflows/ci.yml
@@
-64,7
+64,7
@@
jobs:
run: |
./tests/ci/setup/setup_code_coverage.sh enable
./vendor/bin/phpunit -v --coverage-clover=coverage.clover tests
run: |
./tests/ci/setup/setup_code_coverage.sh enable
./vendor/bin/phpunit -v --coverage-clover=coverage.clover tests
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover
+ if [ -f coverage.clover ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
-
if: ${{ matrix.php != '7.4' }}
run: './vendor/bin/phpunit -v tests'
-
if: ${{ matrix.php != '7.4' }}
run: './vendor/bin/phpunit -v tests'