mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-18 19:16:44 +02:00
Skip a debugging test in github actions since it fails there for an unknown reason
This commit is contained in:
parent
c79466c679
commit
a08465ce6f
@ -62,7 +62,7 @@ func BackupAndRestoreWithId(t *testing.T, id string) func() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func checkError(err error) {
|
func checkError(err error) {
|
||||||
if err != nil {
|
if err != nil && os.Getenv("GITHUB_ACTION") == "" {
|
||||||
_, filename, line, _ := runtime.Caller(1)
|
_, filename, line, _ := runtime.Caller(1)
|
||||||
_, cf, cl, _ := runtime.Caller(2)
|
_, cf, cl, _ := runtime.Caller(2)
|
||||||
log.Fatalf("testutils fatal error at %s:%d (caller: %s:%d): %v", filename, line, cf, cl, err)
|
log.Fatalf("testutils fatal error at %s:%d (caller: %s:%d): %v", filename, line, cf, cl, err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user