From be77e3e06500d1bb23aed7c86e15d18971c677dc Mon Sep 17 00:00:00 2001 From: Diego Martinez Date: Thu, 23 May 2024 19:31:26 +0200 Subject: [PATCH] Download artifacts from individual workflows --- .github/workflows/CD.yml | 17 ++++++++++++++--- .github/workflows/Run_web_tests.yml | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index d8c1a65..f77db49 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -55,10 +55,21 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - name: Download All Artifacts - uses: actions/download-artifact@v4 + - uses: LexisNexis-Public-GHA/sbs-action-download-artifact@v2.13.1 with: - path: results + workflow: Run_api_tests.yml + - uses: LexisNexis-Public-GHA/sbs-action-download-artifact@v2.13.1 + with: + workflow: Run_web_tests.yml + - uses: LexisNexis-Public-GHA/sbs-action-download-artifact@v2.13.1 + with: + workflow: Run_desktop_tests.yml + - uses: LexisNexis-Public-GHA/sbs-action-download-artifact@v2.13.1 + with: + workflow: Run_appium_android_tests.yml + - uses: LexisNexis-Public-GHA/sbs-action-download-artifact@v2.13.1 + with: + workflow: Run_appium_ios_tests.yml - name: Publish Summary Test Results uses: EnricoMi/publish-unit-test-result-action@v2 diff --git a/.github/workflows/Run_web_tests.yml b/.github/workflows/Run_web_tests.yml index a5bec71..7dd950d 100644 --- a/.github/workflows/Run_web_tests.yml +++ b/.github/workflows/Run_web_tests.yml @@ -85,7 +85,7 @@ jobs: - name: Archive Testing results - WEB uses: actions/upload-artifact@v2 with: - name: results-WEB-${{ matrix.os }} + name: results-WEB-${{ matrix.browser }} path: ${{ inputs.test_results_path }}/results.trx - name: Archive Testing artifacts - Allure if: always()