diff --git a/.github/workflows/uitests_saucelabs.yaml b/.github/workflows/uitests_saucelabs.yaml index a30d088..9f5c9a8 100644 --- a/.github/workflows/uitests_saucelabs.yaml +++ b/.github/workflows/uitests_saucelabs.yaml @@ -93,6 +93,16 @@ jobs: sleep 10 mvn -Dtest=AndroidAppTest test + - name: Install Allure + run: | + curl -o allure-2.13.8.tgz -L https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.13.8/allure-commandline-2.13.8.tgz + tar -zxvf allure-2.13.8.tgz + sudo mv allure-2.13.8 /opt/allure + sudo ln -s /opt/allure/bin/allure /usr/bin/allure + + - name: Generate Allure Report + run: allure generate ${{ github.workspace }}/SDK-Auto-Test/target/allure-results --clean -o allure-report + - name: save Allure result uses: actions/upload-artifact@v4 if: always() @@ -100,6 +110,14 @@ jobs: name: allure-results path: ${{ github.workspace }}/SDK-Auto-Test/target/allure-results + - name: Upload Allure HTML Report + uses: actions/upload-artifact@v4 + if: always() + with: + name: allure-html-report + path: allure-report + retention-days: 14 + - name: Adding summary if: ${{ always() }} run: | @@ -108,7 +126,6 @@ jobs: echo "Device: ${{ github.event.inputs.device }}" >> $GITHUB_STEP_SUMMARY echo "Build agent: ${{ github.event.inputs.runner }}" >> $GITHUB_STEP_SUMMARY - # GITHUB_REF_NAME=feature/auto_test # GITHUB_RUN_ID=10653731636 # GITHUB_REPOSITORY=appodeal/appodeal-android-sdk