chore: log GITHUB_ACTIONS
This commit is contained in:
parent
01133d4dff
commit
b23c0894ea
3
Makefile
3
Makefile
|
@ -30,5 +30,4 @@ test:
|
|||
ci-test:
|
||||
./scripts/prepare_test_repos.sh $(TMP_DIR)
|
||||
./scripts/run_foreach_test_repos.sh $(TMP_DIR) "sed -i '2i \ \ \"sandboxExecServer\": \"172.17.0.1:5051\",' conf.json"
|
||||
export GITHUB_ACTIONS="test"
|
||||
go test -coverprofile cover.out -v ./...
|
||||
GITHUB_ACTIONS="test" go test -coverprofile cover.out -v ./...
|
||||
|
|
|
@ -13,6 +13,7 @@ import (
|
|||
|
||||
func Run(conf conf.Conf) error {
|
||||
actions := os.Getenv("GITHUB_ACTIONS")
|
||||
slog.Info("teapot start", "GITHUB_ACTIONS", actions)
|
||||
if actions != "true" {
|
||||
slog.Info("teapot exit", "GITHUB_ACTIONS", actions)
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user