bashcov: warning: running as root is NOT recommended, Bashcov may not work properly. 1..70 ok 1 VERSION_FILE=Chart.yaml extracts version from YAML ok 2 VERSION_FILE=VERSION extracts version from plain text ok 3 VERSION_FILE=package.json extracts version from JSON ok 4 VERSION_FILE=subdir/Chart.yaml extracts version from monorepo ok 5 no VERSION_FILE, root VERSION found ok 6 no VERSION_FILE, root Chart.yaml found ok 7 tag exists for commit sets ARTIFACT_EXISTS=true ok 8 tag with prefix filters correctly ok 9 no tag, new version calculated ok 10 highest patch calculated correctly ok 11 VERSION_FILE=Chart-umbrella.yaml extracts only top-level version ok 12 no version source exits with error ok 13 missing config file → exit 1 ok 14 empty value in config → exit 1 ok 15 invalid URL in config → exit 1 ok 16 missing GITEA_TOKEN secret → exit 1 ok 17 missing GIT_PAGES_PUBLISH_TOKEN secret → exit 1 ok 18 valid config and all secrets → exit 0 ok 19 comment and blank lines are ignored → exit 0 ok 20 dispatch succeeds: POST 201, poll running x3 then success → exit 0 ok 21 dispatch: poll returns failure conclusion → exit 1 ok 22 dispatch: poll returns cancelled conclusion → exit 1 ok 23 timeout: no matching run found, exceeds timeout_minutes → exit 124 ok 24 dispatch API returns 500 → exit 1 ok 25 POST dispatch is called with correct URL and payload ok 26 missing gitea_api_url argument → exit 1 with error message ok 27 missing gitea_token argument → exit 1 with error message ok 28 missing target_repo argument → exit 1 ok 29 missing workflow_file argument → exit 1 ok 30 missing ref argument → exit 1 ok 31 dispatch: no workflow run found after dispatch → exit 124 (timeout) ok 32 missing inputs_json argument → exit 1 ok 33 missing GITEA_API_URL causes exit 1 ok 34 missing GITEA_TOKEN causes exit 1 ok 35 missing INPUT_FILE causes exit 1 ok 36 missing YQ_TPL causes exit 1 ok 37 missing VERSION causes exit 1 ok 38 missing SOURCE_REPO causes exit 1 ok 39 missing SOURCE_COMMIT causes exit 1 ok 40 _gitops_substitute replaces {{VERSION}} ok 41 CLONE_URL is constructed correctly from GITEA_API_URL ok 42 CLONE_URL works with http:// URL ok 43 _gitops_substitute handles multiple {{VERSION}} occurrences ok 44 git flow: clone yq add commit push ok 45 one commit-status call: gitops-repo only ok 46 missing GITOPS_REPO causes exit 1 ok 47 missing suite_path argument → exit 1 ok 48 missing GITEA_API_URL → exit 1 ok 49 missing GIT_PAGES_URL → exit 1 ok 50 missing GIT_PAGES_PUBLISH_TOKEN → exit 1 ok 51 missing GITHUB_REPOSITORY → exit 1 ok 52 suite path is not a directory → exit 1 ok 53 valid publish returns report base URL ok 54 publish with suite subpath ok 55 git-pages returns HTTP 500 → exit 1 ok 56 missing suite_path argument → exit 1 ok 57 missing GITEA_API_URL → exit 1 ok 58 missing GITEA_TOKEN → exit 1 ok 59 missing GIT_PAGES_URL → exit 1 ok 60 missing GIT_PAGES_PUBLISH_TOKEN → exit 1 ok 61 pending status is POSTed with correct payload ok 62 success status with custom key and suite builds report URL ok 63 failure status constructs run URL when no suite ok 64 default key when not provided ok 65 API returns 500 causes exit 1 ok 66 cross-repo: ROOT_COMMIT and ROOT_REPO override target ok 67 missing GITEA_API_URL causes exit 1 with error message ok 68 missing GITEA_TOKEN causes exit 1 with error message ok 69 missing required state argument causes exit 1 ok 70 missing required description argument causes exit 1 bashcov: warning: environment was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/bats-run-NhNmhG/bats.283.src was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/bats-run-NhNmhG/bats.301.src was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/build-ctx/build.env was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: . was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/bats-run-NhNmhG/bats.954.src was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/bats-run-NhNmhG/bats.1104.src was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/bats-run-NhNmhG/bats.1626.src was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/bats-run-NhNmhG/bats.1912.src was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/bats-run-NhNmhG/bats.2141.src was executed but has been deleted since then - it won't be reported in coverage. bashcov: warning: /tmp/bats-run-NhNmhG/bats.2178.src was executed but has been deleted since then - it won't be reported in coverage. Run completed using bashcov 3.3.0 with Bash 5.2, Ruby 3.2.8, and SimpleCov 0.22.0 as root user (NOT recommended) Coverage report generated for bash bats tests/ to /workspace/niko/gitea-ci-library/coverage. Line Coverage: 61.59% (255 / 414)