File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,11 @@ def go_integration_test(source = "src"):
9
9
goPath = os .path .join (os .path .abspath (os .getcwd ()), ".go" )
10
10
os .environ ['GOPATH' ] = goPath
11
11
12
- run_codeql_database_create ([], lang = "go" , source = source )
12
+ try :
13
+ run_codeql_database_create ([], lang = "go" , source = source )
13
14
14
- check_diagnostics ()
15
-
16
- # Clean up the temporary GOPATH to prevent Bazel failures next
17
- # time the tests are run; see https://github.com/golang/go/issues/27161
18
- subprocess .call (["go" , "clean" , "-modcache" ])
15
+ check_diagnostics ()
16
+ finally :
17
+ # Clean up the temporary GOPATH to prevent Bazel failures next
18
+ # time the tests are run; see https://github.com/golang/go/issues/27161
19
+ subprocess .call (["go" , "clean" , "-modcache" ])
You can’t perform that action at this time.
0 commit comments