Commit e3290b9
Changed files (1)
cmd
del
cmd/del/main.go
@@ -697,8 +697,14 @@ func (d *Del) testRunner(ctx context.Context, args map[string]interface{}, ch ch
}
}
// Check for Python tests
- if _, err := os.Stat("requirements.txt"); err == nil ||
- _, err := os.Stat("pyproject.toml"); err == nil {
+ if _, err := os.Stat("requirements.txt"); err == nil {
+ if testType != "" {
+ testType = "multi"
+ } else {
+ testType = "python"
+ output.WriteString("✅ Found Python project\n")
+ }
+ } else if _, err := os.Stat("pyproject.toml"); err == nil {
if testType != "" {
testType = "multi"
} else {