mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-08 02:37:44 +02:00
Add DO_CLEAN into preapre.sh (#6098)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
+31
-29
@@ -219,6 +219,7 @@ jobs:
|
||||
- name: Prepare server
|
||||
run: |
|
||||
cd ./tests
|
||||
export DO_CLEAN=true
|
||||
./prepare.sh
|
||||
- name: Install Playwright
|
||||
run: |
|
||||
@@ -242,35 +243,35 @@ jobs:
|
||||
with:
|
||||
name: playwright-results
|
||||
path: ./tests/sanity/playwright-report/
|
||||
- name: Get Allure history
|
||||
uses: actions/checkout@v4
|
||||
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
||||
continue-on-error: true
|
||||
with:
|
||||
ref: gh-pages
|
||||
path: gh-pages
|
||||
- name: Generates Allure Report
|
||||
uses: simple-elf/allure-report-action@master
|
||||
if: always()
|
||||
id: allure-report
|
||||
with:
|
||||
allure_results: ./tests/sanity/allure-results/
|
||||
gh_pages: gh-pages
|
||||
allure_report: allure-report
|
||||
allure_history: allure-history
|
||||
- name: Upload allure test results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: allure-report
|
||||
path: ./allure-report/
|
||||
- name: Deploy report to Github Pages
|
||||
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PUBLISH_BRANCH: gh-pages
|
||||
PUBLISH_DIR: allure-history
|
||||
# - name: Get Allure history
|
||||
# uses: actions/checkout@v4
|
||||
# if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
||||
# continue-on-error: true
|
||||
# with:
|
||||
# ref: gh-pages
|
||||
# path: gh-pages
|
||||
# - name: Generates Allure Report
|
||||
# uses: simple-elf/allure-report-action@master
|
||||
# if: always()
|
||||
# id: allure-report
|
||||
# with:
|
||||
# allure_results: ./tests/sanity/allure-results/
|
||||
# gh_pages: gh-pages
|
||||
# allure_report: allure-report
|
||||
# allure_history: allure-history
|
||||
# - name: Upload allure test results
|
||||
# if: always()
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: allure-report
|
||||
# path: ./allure-report/
|
||||
# - name: Deploy report to Github Pages
|
||||
# if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
||||
# uses: peaceiris/actions-gh-pages@v4
|
||||
# with:
|
||||
# PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# PUBLISH_BRANCH: gh-pages
|
||||
# PUBLISH_DIR: allure-history
|
||||
- name: Upload Logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -318,6 +319,7 @@ jobs:
|
||||
- name: Prepare server
|
||||
run: |
|
||||
cd ./qms-tests
|
||||
export DO_CLEAN=true
|
||||
./prepare.sh
|
||||
- name: Install Playwright
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user