Compare commits
2 Commits
b419c1c643
...
9a109372f2
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a109372f2 | |||
| 9f1a097cfa |
3
Makefile
3
Makefile
|
|
@ -29,8 +29,7 @@ prepare-test:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
./scripts/prepare_test_repos.sh $(TMP_DIR)
|
./scripts/prepare_test_repos.sh $(TMP_DIR)
|
||||||
# no students.csv & clang-tidy-18 locally
|
# no clang-tidy-18 locally
|
||||||
rm -rf $(TMP_DIR)/submodules/JOJ3-examples/examples/healthcheck
|
|
||||||
rm -rf $(TMP_DIR)/submodules/JOJ3-examples/examples/keyword/clangtidy
|
rm -rf $(TMP_DIR)/submodules/JOJ3-examples/examples/keyword/clangtidy
|
||||||
go test -count=1 -v ./...
|
go test -count=1 -v ./...
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,10 @@ func generateStages(confStages []conf.ConfStage, groups []string) (
|
||||||
s.Name = fmt.Sprintf("stage-%d", i)
|
s.Name = fmt.Sprintf("stage-%d", i)
|
||||||
}
|
}
|
||||||
ok := false
|
ok := false
|
||||||
if s.Group != "" {
|
if s.Group == "" && len(s.Groups) == 0 {
|
||||||
|
ok = true
|
||||||
|
}
|
||||||
|
if !ok && s.Group != "" {
|
||||||
for _, group := range groups {
|
for _, group := range groups {
|
||||||
if strings.EqualFold(group, s.Group) {
|
if strings.EqualFold(group, s.Group) {
|
||||||
ok = true
|
ok = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user