mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 16:27:22 +00:00
feat(tests): added execute deploy in any status (#4767)
This commit is contained in:
parent
053496c7c2
commit
116631a391
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -221,13 +221,13 @@ jobs:
|
|||||||
docker logs $(docker ps | grep front | cut -f 1 -d ' ') > logs/front.log
|
docker logs $(docker ps | grep front | cut -f 1 -d ' ') > logs/front.log
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: playwright-results
|
name: playwright-results
|
||||||
path: ./tests/sanity/playwright-report/
|
path: ./tests/sanity/playwright-report/
|
||||||
- name: Get Allure history
|
- name: Get Allure history
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
ref: gh-pages
|
ref: gh-pages
|
||||||
@ -243,12 +243,12 @@ jobs:
|
|||||||
allure_history: allure-history
|
allure_history: allure-history
|
||||||
- name: Upload allure test results
|
- name: Upload allure test results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: allure-report
|
name: allure-report
|
||||||
path: ./allure-report/
|
path: ./allure-report/
|
||||||
- name: Deploy report to Github Pages
|
- name: Deploy report to Github Pages
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -256,7 +256,7 @@ jobs:
|
|||||||
PUBLISH_DIR: allure-history
|
PUBLISH_DIR: allure-history
|
||||||
- name: Upload Logs
|
- name: Upload Logs
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: docker-logs
|
name: docker-logs
|
||||||
path: ./tests/sanity/logs
|
path: ./tests/sanity/logs
|
||||||
|
Loading…
Reference in New Issue
Block a user