Update .gitea/workflows/test.yml
Run Pytest with Allure and Coverage Reports / tests (push) Failing after 52s

This commit is contained in:
2025-07-09 09:45:04 +02:00
parent a4269f60ab
commit ad4e40ee76
+10 -7
View File
@@ -13,6 +13,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup SSH Deploy Key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.CI_SECRET_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -t ed25519 gitea.psi.ch >> ~/.ssh/known_hosts
- name: Install Pixi and dependencies
run: |
curl -fsSL https://pixi.sh/install.sh | bash
@@ -63,10 +70,8 @@ jobs:
git config user.name "ci-bot"
git config user.email "ci-bot@example.com"
git add ci-reports/markdown/coverage-summary.md ci-reports/markdown/test-summary.md
git commit -m "Update test summaries [skip ci]" || echo "Nothing to commit"
git push https://ci-token:${{ secrets.CI_TOKEN }}@gitea.psi.ch/tligui_y/slic.git HEAD:utils_testing
env:
CI_TOKEN: ${{ secrets.CI_TOKEN }}
git commit -m "Update test summaries" || echo "Nothing to commit"
git push git@gitea.psi.ch:tligui_y/slic.git HEAD:utils_testing
- name: Link to report
run: |
@@ -78,8 +83,6 @@ jobs:
echo "${base_url}/report_${ts}.html"
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
@@ -90,4 +93,4 @@ jobs:
git config user.email "ci-bot@example.com"
git add .
git commit -m "Deploy Allure report" || echo "Nothing to commit"
git push origin main
git push origin main