From 285fc371cd51165e08f6dbafb9af532cf11c78d7 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Wed, 16 Jul 2025 15:45:32 +0200 Subject: [PATCH] Update .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index df0d69b4..a570f110 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -2,7 +2,7 @@ name: Run Pytest with HTML and XML Test Reports on: push: - branches: [testing_json] + branches: [utils_testing] pull_request: jobs: @@ -77,7 +77,7 @@ jobs: echo "๐Ÿงช Running pytest with coverage and report generation..." pixi run pytest . \ --continue-on-collection-errors \ - --cov=functions \ + --cov=slic \ --cov-report=xml:ci-reports/coverage/coverage.xml \ --cov-report=html:ci-reports/coverage/ \ --json-report \ @@ -142,8 +142,8 @@ jobs: git add ci-reports/ git commit -m "CI: update test report and coverage files" || echo "โš ๏ธ Nothing to commit" - echo "๐Ÿš€ Pushing to branch 'testing_json' on slic.git..." - git push https://ci-token:${{ secrets.CI_TOKEN }}@gitea.psi.ch/tligui_y/slic.git HEAD:testing_json > push_main.log 2>&1 || { + echo "๐Ÿš€ Pushing to branch 'utils_testing' on slic.git..." + git push https://ci-token:${{ secrets.CI_TOKEN }}@gitea.psi.ch/tligui_y/slic.git HEAD:utils_testing > push_main.log 2>&1 || { echo "โŒ Push to main repo failed" cat push_main.log | grep -i 'error\|fatal\|refused' exit 1