From dd56ac0f42286eecf0029eee608ec09fdb56a5dd Mon Sep 17 00:00:00 2001 From: johnlitvinov Date: Thu, 17 Oct 2024 15:19:50 +0200 Subject: [PATCH] yaml file for SauceLabs --- .github/workflows/uitests_saucelabs.yaml | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/uitests_saucelabs.yaml b/.github/workflows/uitests_saucelabs.yaml index e9cd2ff..f8b9e62 100644 --- a/.github/workflows/uitests_saucelabs.yaml +++ b/.github/workflows/uitests_saucelabs.yaml @@ -80,6 +80,14 @@ jobs: ref: 'aws' token: ${{ secrets.UITESTREPOACCESS }} + - name: Get Allure history + uses: actions/checkout@v4 + if: always() + continue-on-error: true + with: + ref: gh-pages + path: gh-pages + - name: Set up JDK 17 uses: actions/setup-java@v4 with: @@ -100,6 +108,29 @@ jobs: name: allure-results path: ${{ github.workspace }}/SDK-Auto-Test/target/allure-results + - name: convert allure-result to allure-report + run: allure generate ${{ github.workspace }}/SDK-Auto-Test/target/allure-results --clean -o allure-report + + - name: save Allure report + uses: actions/upload-artifact@v4 + if: always() + with: + name: allure-report + path: ${{ github.workspace }}/allure-report + + - name: upload allure-result to gh-pages + uses: simple-elf/allure-report-action@master + if: always() + id: allure-report + with: + allure_results: build/allure-results + gh_pages: gh-pages + allure_report: allure-report + allure_history: allure-history + + - name: notification to Slack + run: pwd + - name: Adding summary if: ${{ always() }} run: |