Skip to content

Commit 258fbc2

Browse files
committed
Cleanup Allure results and reduce retention days for reports
1 parent 21f565f commit 258fbc2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ jobs:
7474
if: steps.cache-pw.outputs.cache-hit == 'true'
7575
run: npx playwright install-deps
7676

77+
- name: Cleanup Allure results
78+
run: rm -rf allure-results
79+
7780
- name: Launch auto-tests with ENV-override
7881
env:
7982
BASE_URL: ${{ github.event.inputs.BaseURL }}
@@ -87,7 +90,7 @@ jobs:
8790
with:
8891
name: playwright-report
8992
path: playwright-report
90-
retention-days: 21
93+
retention-days: 10
9194

9295
- name: Save allure-results
9396
uses: actions/upload-artifact@v4
@@ -96,7 +99,7 @@ jobs:
9699
with:
97100
name: allure-results
98101
path: allure-results
99-
retention-days: 21
102+
retention-days: 10
100103

101104
- name: Get results from the previous launch
102105
uses: actions/checkout@v4
@@ -115,7 +118,7 @@ jobs:
115118
gh_pages: gh-pages
116119
allure_report: allure-report
117120
allure_history: allure-history
118-
keep_reports: 21
121+
keep_reports: 10
119122

120123
- name: Deploy report to GitHub Pages
121124
if: always()

0 commit comments

Comments
 (0)