diff --git a/.github/workflows/android_workflow.yml b/.github/workflows/android_workflow.yml index a7c3476f..0f1d3e31 100644 --- a/.github/workflows/android_workflow.yml +++ b/.github/workflows/android_workflow.yml @@ -73,7 +73,7 @@ jobs: if: ${{ always() }} - name: Upload HTML run report in the Artifacts Folder - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.html_report }} path: | @@ -150,7 +150,7 @@ jobs: if: ${{ always() }} - name: Upload HTML run report in the Artifacts Folder - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pytest-results path: | diff --git a/.github/workflows/api_workflow.yml b/.github/workflows/api_workflow.yml index 7a6d5941..9afc5949 100644 --- a/.github/workflows/api_workflow.yml +++ b/.github/workflows/api_workflow.yml @@ -56,7 +56,7 @@ jobs: # Upload html results as GH artifact - name: Upload pytest test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pytest-results path: | @@ -100,10 +100,35 @@ jobs: --gherkin-terminal-reporter \ --tags="$TAGS" \ --html=report.html \ + --alluredir=allure-results + + - name: Get Allure history + uses: actions/checkout@v4 + if: always() + continue-on-error: true + with: + ref: gh-pages + path: gh-pages + + - name: Allure Report + uses: simple-elf/allure-report-action@v1.7 + if: always() + with: + gh_pages: gh-pages + allure_results: allure-results + allure_history: allure-history + + - name: Deploy report to Github Pages + if: always() + uses: peaceiris/actions-gh-pages@v3 + with: + PERSONAL_TOKEN: ${{ secrets.PYTEST_TOKEN }} + PUBLISH_BRANCH: gh-pages + PUBLISH_DIR: allure-history # Upload html results as GH artifact - name: Upload pytest test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pytest-results path: | diff --git a/.github/workflows/ios_workflow.yml b/.github/workflows/ios_workflow.yml index 2c9607a5..4969fa02 100644 --- a/.github/workflows/ios_workflow.yml +++ b/.github/workflows/ios_workflow.yml @@ -74,7 +74,7 @@ jobs: if: ${{ always() }} - name: Upload HTML run report in the Artifacts Folder - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.html_report }} path: | @@ -152,7 +152,7 @@ jobs: if: ${{ always() }} - name: Upload HTML run report in the Artifacts Folder - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pytest-results path: |