...
This commit is contained in:
@@ -30,6 +30,12 @@ fn load_test_cache() TestCache {
|
|||||||
} }
|
} }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn in_github_actions() bool{
|
||||||
|
a:=os.environ()["GITHUB_ACTIONS"] or {return false}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Save the test cache to JSON file
|
// Save the test cache to JSON file
|
||||||
fn save_test_cache(cache TestCache) {
|
fn save_test_cache(cache TestCache) {
|
||||||
json_str := json.encode_pretty(cache)
|
json_str := json.encode_pretty(cache)
|
||||||
@@ -177,7 +183,9 @@ data/radixtree
|
|||||||
clients/livekit
|
clients/livekit
|
||||||
'
|
'
|
||||||
|
|
||||||
if os.exists("/home/runner"){
|
|
||||||
|
|
||||||
|
if in_github_actions(){
|
||||||
println("**** WE ARE IN GITHUB ACTION")
|
println("**** WE ARE IN GITHUB ACTION")
|
||||||
tests_ignore+="\nosal/tmux\n"
|
tests_ignore+="\nosal/tmux\n"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user