Compare commits

..

No commits in common. "9a109372f2d5ab64ead3b4b962619e67c4dbcbd8" and "b419c1c643e2829d073645e58d4b25901993329a" have entirely different histories.

2 changed files with 3 additions and 5 deletions

View File

@ -29,7 +29,8 @@ prepare-test:
test:
./scripts/prepare_test_repos.sh $(TMP_DIR)
# no clang-tidy-18 locally
# no students.csv & clang-tidy-18 locally
rm -rf $(TMP_DIR)/submodules/JOJ3-examples/examples/healthcheck
rm -rf $(TMP_DIR)/submodules/JOJ3-examples/examples/keyword/clangtidy
go test -count=1 -v ./...

View File

@ -48,10 +48,7 @@ func generateStages(confStages []conf.ConfStage, groups []string) (
s.Name = fmt.Sprintf("stage-%d", i)
}
ok := false
if s.Group == "" && len(s.Groups) == 0 {
ok = true
}
if !ok && s.Group != "" {
if s.Group != "" {
for _, group := range groups {
if strings.EqualFold(group, s.Group) {
ok = true