Skip to content

Commit

Permalink
yaml file for SauceLabs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlitvinov committed Oct 15, 2024
1 parent e0e9f31 commit 06de226
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/uitests_saucelabs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,31 @@ 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()
with:
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: |
Expand All @@ -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
Expand Down

0 comments on commit 06de226

Please sign in to comment.