Fix GH acton for E2E CLI tests coverage to Sonar (#9910)

This commit is contained in:
Nahuel 2023-01-25 11:56:54 +01:00 committed by GitHub
parent 5608c2fde0
commit b0f7cc3ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,23 +103,23 @@ jobs:
- name: Upload coverage artifact - name: Upload coverage artifact
if: matrix.e2e-test == 'python' && steps.e2e-test.outcome == 'success' if: matrix.e2e-test == 'python' && steps.e2e-test.outcome == 'success'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: coverage-${{ matrix.e2e-test }} name: coverage-${{ matrix.e2e-test }}
path: .coverage path: .coverage
- name: Upload coverage artifact for Python tests - name: Upload coverage artifact for Python tests
if: matrix.e2e-test != 'python' && steps.e2e-test.outcome == 'success' if: matrix.e2e-test != 'python' && steps.e2e-test.outcome == 'success'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: coverage-${{ matrix.e2e-test }} name: coverage-${{ matrix.e2e-test }}
path: .coverage.${{ matrix.e2e-test }} path: .coverage.${{ matrix.e2e-test }}
- name: Upload tests artifact - name: Upload tests artifact
if: steps.e2e-test.outcome == 'success' if: steps.e2e-test.outcome == 'success'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: tests-${{ matrix.e2e-test }} name: tests-${{ matrix.e2e-test }}
path: ingestion/junit/test-results-*.xml path: ingestion/junit/test-results-*.xml
- name: Clean Up - name: Clean Up
run: | run: |