Skip to content

Commit

Permalink
Revert allure report
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Aug 31, 2023
1 parent e3320c6 commit bbc07ce
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,36 @@ jobs:
continue-on-error: true
run: ./gradlew test -Pdriver=chrome

- name: Collect reports
run: |
echo --------------- Collecting Allure Reports.... ------------------
zip -r allure-report.zip ./allure-report/
- name: Get Allure history
uses: actions/checkout@v3
id: allure-setup
continue-on-error: true
with:
ref: gh-pages
path: gh-pages

- name: Generate Allure report
uses: simple-elf/allure-report-action@master
with:
allure_results: ./allure-results
allure_report: ./allure-report
allure_history: allure-history

- name: Upload Allure report
uses: actions/upload-artifact@master
with:
name: allure-report-jdk${{ matrix.java }}
name: Allure report
path: ./allure-report

- name: Deploy Allure report to Github Pages
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: allure-history

- name: Check tests are passed
if: ${{ steps.functests.outcome != 'success' }}
run: |
echo Tests result: ${{ steps.functests.outcome }}
exit 1
exit 1

0 comments on commit bbc07ce

Please sign in to comment.