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