Fix github action (#396)

* Fix github action

* PHP8.4 is too new

* Revert log storage
This commit is contained in:
Eduardo Gulias Davis
2024-12-27 00:28:29 +01:00
committed by GitHub
parent 87db43e4ff
commit 621d46003b
+5 -3
View File
@@ -47,15 +47,17 @@ jobs:
- name: Execute tests
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml --exclude-group flaky
- name: Coverage
if: ${{ matrix.php == '8.1' && matrix.deps == 'lowest' }}
shell: bash
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r build/logs/clover.xml
- name: Store artifacts
if: ${{ matrix.php == '8.1' && matrix.deps == 'lowest' }}
uses: actions/upload-artifact@v4
with:
name: logs
path: build/logs
name: clover.xml
path: build/logs