diff --git a/.github/workflows/kind-e2e-tests.yaml b/.github/workflows/kind-e2e-tests.yaml index e658fc4cd..79f5ec343 100644 --- a/.github/workflows/kind-e2e-tests.yaml +++ b/.github/workflows/kind-e2e-tests.yaml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - provider: [githubgitlab, others] + provider: [providers, gitea_others] env: KO_DOCKER_REPO: localhost:5000 CONTROLLER_DOMAIN_URL: controller.paac-127-0-0-1.nip.io diff --git a/hack/gh-workflow-ci.sh b/hack/gh-workflow-ci.sh index bb215d418..0051abccd 100755 --- a/hack/gh-workflow-ci.sh +++ b/hack/gh-workflow-ci.sh @@ -67,10 +67,10 @@ create_second_github_app_controller_on_ghe() { get_tests() { target=$1 mapfile -t testfiles < <(find test/ -maxdepth 1 -name '*.go') - ghglabre="Github|Gitlab" - if [[ ${target} == "githubgitlab" ]]; then + ghglabre="Github|Gitlab|Bitbucket" + if [[ ${target} == "providers" ]]; then grep -hioP "^func Test.*(${ghglabre})(\w+)\(" "${testfiles[@]}" | sed -e 's/func[ ]*//' -e 's/($//' - elif [[ ${target} == "others" ]]; then + elif [[ ${target} == "gitea_others" ]]; then grep -hioP '^func Test(\w+)\(' "${testfiles[@]}" | grep -iPv "(${ghglabre})" | sed -e 's/func[ ]*//' -e 's/($//' else echo "Invalid target: ${target}"