Fix core api tests results path and artifacts naming pattern (#48490)

* Fix api tests results path

* Add changelog

* Run Core API tests - HPOS disabled on pull_request

* Update the artifacts name pattern to avoid conflicts

* Revert pull_request trigger
This commit is contained in:
Adrian Moldovan 2024-06-14 19:03:43 +03:00 committed by GitHub
parent 5c70064a85
commit 90398903ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View File

@ -176,7 +176,7 @@ jobs:
if: ${{ always() && matrix.report.resultsPath != '' }} if: ${{ always() && matrix.report.resultsPath != '' }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: '${{ matrix.report.resultsBlobName }}-${{ strategy.job-index }}' name: '${{ matrix.report.resultsBlobName }}__${{ strategy.job-index }}'
path: ${{ env.ARTIFACTS_PATH }} path: ${{ env.ARTIFACTS_PATH }}
- name: 'Upload flaky test reports' - name: 'Upload flaky test reports'
@ -295,7 +295,7 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
name: ${{ matrix.report }} name: ${{ matrix.report }}
pattern: ${{ matrix.report }}-* pattern: ${{ matrix.report }}__*
delete-merged: true delete-merged: true
- name: 'Download merged artifacts' - name: 'Download merged artifacts'

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Fix path to test results for api core tests

View File

@ -511,7 +511,7 @@
}, },
"report": { "report": {
"resultsBlobName": "core-api-report-hpos-disabled", "resultsBlobName": "core-api-report-hpos-disabled",
"resultsPath": "tests/e2e-pw/test-results", "resultsPath": "tests/api-core-tests/test-results",
"allure": true "allure": true
} }
}, },