Update .gitea/workflows/test.yml
Run Pytest with Allure and Coverage Reports / tests (push) Successful in 49s
Run Pytest with Allure and Coverage Reports / tests (push) Successful in 49s
This commit is contained in:
@@ -68,16 +68,6 @@ jobs:
|
||||
env:
|
||||
CI_TOKEN: ${{ secrets.CI_TOKEN }}
|
||||
|
||||
- name: Add commit info banner to Allure report
|
||||
run: |
|
||||
COMMIT_SHA=$(git rev-parse --short HEAD)
|
||||
echo "<div style='position: fixed; bottom: 10px; right: 10px; font-size: 12px; color: gray; z-index: 9999; background: white; padding: 4px; border-radius: 4px;'>Build: ${COMMIT_SHA}</div>" > ci-reports/allure/commit_info.html
|
||||
echo "<script>
|
||||
fetch('commit_info.html')
|
||||
.then(resp => resp.text())
|
||||
.then(html => document.body.insertAdjacentHTML('beforeend', html));
|
||||
</script>" >> ci-reports/allure/index.html
|
||||
|
||||
- name: Link to report
|
||||
run: |
|
||||
ts=$(date +%s)
|
||||
@@ -89,7 +79,6 @@ jobs:
|
||||
echo "=============================="
|
||||
|
||||
|
||||
|
||||
- name: Deploy Allure report to GitHub
|
||||
run: |
|
||||
git clone https://x-access-token:${{ secrets.RENDER_GITHUB_TOKEN }}@github.com/Yaspsi/pytest-report-render.git deploy-repo
|
||||
|
||||
Reference in New Issue
Block a user