Update GitHub Actions to conditionally upload coverage artifacts for pull requests

This commit is contained in:
Jeppe Bundgaard
2026-04-14 16:15:52 +02:00
parent e385cd3e95
commit f51b054cf5
+3
View File
@@ -34,11 +34,14 @@ jobs:
run: composer test:coverage
- name: Upload coverage artifact
if: ${{ github.event_name == 'pull_request' }}
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: unit-coverage-clover
path: services/nginx/app/build/logs/clover.xml
if-no-files-found: warn
retention-days: 1
integration:
name: Integration (advisory)