@@ -108,35 +108,35 @@ jobs:
108108 ref : gh-pages
109109 path : gh-pages
110110
111- - name : " Compose: Allure Report"
112- uses : firebolt-db/action-allure-report@v1
111+ - name : Install Allure CLI
112+ run : |
113+ curl -fsSL https://github.com/allure-framework/allure2/releases/download/2.38.1/allure-2.38.1.tgz
114+ tar -zxf allure-2.38.1.tgz
115+ sudo mv allure-2.38.1/bin/allure /usr/bin/allure
116+
117+ - name : Generate All Reports Locally
113118 if : always()
114- continue-on-error : true
115- with :
116- github-key : ${{ secrets.GITHUB_TOKEN }}
117- test-type : core
118- allure-dir : allure-results
119- pages-branch : gh-pages
120- repository-name : python-sdk
119+ run : |
120+ REPORT_BASE="allure-final/allure/python-sdk_${{ github.sha }}"
121121
122- - name : " Compose: Allure Report HTTPS"
123- uses : firebolt-db/action-allure-report@v1
122+ allure generate allure-results -o "${REPORT_BASE}_core"
123+ allure generate allure-results-https -o "${REPORT_BASE}_core_https"
124+ allure generate allure-results-kind-http -o "${REPORT_BASE}_core_kind"
125+
126+ - name : Deploy all reports to GitHub Pages
127+ uses : peaceiris/actions-gh-pages@v4
124128 if : always()
125- continue-on-error : true
126129 with :
127- github-key : ${{ secrets.GITHUB_TOKEN }}
128- test-type : core_https
129- allure-dir : allure-results-https
130- pages-branch : gh-pages
131- repository-name : python-sdk
130+ github_token : ${{ secrets.GITHUB_TOKEN }}
131+ publish_branch : gh-pages
132+ publish_dir : ./allure-final
133+ keep_files : true
132134
133- - name : " Kind: Allure Report HTTP"
134- uses : firebolt-db/action-allure-report@v1
135+ - name : Set Job Summary
135136 if : always()
136- continue-on-error : true
137- with :
138- github-key : ${{ secrets.GITHUB_TOKEN }}
139- test-type : core_kind
140- allure-dir : allure-results-kind-http
141- pages-branch : gh-pages
142- repository-name : python-sdk
137+ run : |
138+ BASE_URL="https://${{ github.repository_owner }}.github.io/python-sdk/allure/python-sdk_${{ github.sha }}"
139+ echo "### Test Reports" >> $GITHUB_STEP_SUMMARY
140+ echo "* [Core HTTP Report](${BASE_URL}_core)" >> $GITHUB_STEP_SUMMARY
141+ echo "* [HTTPS Report](${BASE_URL}_core_https)" >> $GITHUB_STEP_SUMMARY
142+ echo "* [Kind HTTP Report](${BASE_URL}_core_kind)" >> $GITHUB_STEP_SUMMARY
0 commit comments