We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17fdc1e commit 5c8fb3cCopy full SHA for 5c8fb3c
1 file changed
.github/workflows/qa.yml
@@ -22,6 +22,8 @@ jobs:
22
steps:
23
- name: Checkout
24
uses: actions/checkout@v6
25
+ with:
26
+ fetch-depth: 2
27
28
- name: Build docker image
29
env: ${{ matrix.env }}
@@ -42,5 +44,7 @@ jobs:
42
44
43
45
if: ${{ env.COVERAGE_FILE }}
46
run: |
- curl -sSOL https://scrutinizer-ci.com/ocular.phar
- docker run --rm -v $PWD:/msgpack -w /msgpack msgpack php ocular.phar code-coverage:upload --format=php-clover "$COVERAGE_FILE"
47
+ docker run --rm -e COVERAGE_FILE -v $PWD:/msgpack -w /msgpack msgpack sh -lc '
48
+ composer global require --no-progress --no-interaction scrutinizer/ocular:^1.9 >/dev/null &&
49
+ "$(composer global config bin-dir --absolute)/ocular" code-coverage:upload --format=php-clover "$COVERAGE_FILE"
50
+ '
0 commit comments