From f08c450016c2a90941bb4d2fd0d6116fe4aaf880 Mon Sep 17 00:00:00 2001 From: johnlitvinov Date: Wed, 23 Oct 2024 17:21:00 +0200 Subject: [PATCH] yaml file for SauceLabs --- .github/workflows/uitests_saucelabs.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/uitests_saucelabs.yaml b/.github/workflows/uitests_saucelabs.yaml index 1cc5081..a2a6aa7 100644 --- a/.github/workflows/uitests_saucelabs.yaml +++ b/.github/workflows/uitests_saucelabs.yaml @@ -114,8 +114,9 @@ jobs: - name: notification to Slack if: always() run: | - chmod +x allure_notifications/allure-notifications-4.8.0.jar - java "-DconfigFile=allure_notifications/config.json" -jar allure_notifications/allure-notifications-4.8.0.jar + pwd + chmod +x ${{ github.workspace }}/SDK-Auto-Test/allure_notifications/allure-notifications-4.8.0.jar + java "-DconfigFile=allure_notifications/config.json" -jar ${{ github.workspace }}/SDK-Auto-Test/allure_notifications/allure-notifications-4.8.0.jar - name: Adding summary if: ${{ always() }} @@ -173,6 +174,16 @@ jobs: PUBLISH_BRANCH: gh-pages PUBLISH_DIR: allure-history + - name: Post the link to the report + if: always() + uses: Sibz/github-status-action@v1 + with: + authToken: ${{secrets.GITHUB_TOKEN}} + context: 'Test report' + state: 'success' + sha: ${{ github.event.pull_request.head.sha }} + target_url: simple-elf.github.io/github-allure-history/${{ github.run_number }} + # GITHUB_REF_NAME=feature/auto_test # GITHUB_RUN_ID=10653731636