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 17, 2024
1 parent 06df1df commit dd56ac0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/uitests_saucelabs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit dd56ac0

Please sign in to comment.