Update .gitea/workflows/test.yml
Run Pytest with Allure and Coverage Reports / tests (push) Has been cancelled

This commit is contained in:
2025-07-09 14:12:18 +02:00
parent 4a5563efd1
commit f7376d6e41
+7 -7
View File
@@ -79,14 +79,14 @@ jobs:
echo "=============================="
- name: Deploy Allure report to Gitea ci-allure-reports branch
- name: Deploy Allure report to GitHub
run: |
git clone --branch ci-allure-reports https://ci-token:${{ secrets.CI_TOKEN }}@gitea.psi.ch/tligui_y/slic.git gitea-allure-reports
rm -rf gitea-allure-reports/*
cp -r ci-reports/allure/* gitea-allure-reports/
cd gitea-allure-reports
git clone https://x-access-token:${{ secrets.RENDER_GITHUB_TOKEN }}@github.com/Yaspsi/pytest-report-render.git deploy-repo
rm -rf deploy-repo/*
cp -r ci-reports/allure/* deploy-repo/
cd deploy-repo
git config user.name "ci-bot"
git config user.email "ci-bot@example.com"
git add .
git commit -m "Deploy Allure report [skip ci]" || echo "Nothing to commit"
git push origin ci-allure-reports
git commit -m "Deploy Allure report" || echo "Nothing to commit"
git push origin main