Run tests on GitHub Actions

This commit is contained in:
Alexander Neumann
2020-11-08 16:04:57 +01:00
parent 275f713211
commit 5cf42884c8
2 changed files with 245 additions and 2 deletions
+2 -2
View File
@@ -32,9 +32,9 @@ func getStringVar(name, defaultValue string) string {
func getBoolVar(name string, defaultValue bool) bool {
if e := os.Getenv(name); e != "" {
switch e {
case "1":
case "1", "true":
return true
case "0":
case "0", "false":
return false
default:
fmt.Fprintf(os.Stderr, "invalid value for variable %q, using default\n", name)