Update GitHub Actions to conditionally upload coverage artifacts for pull requests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user