diff options
author | Dan Sosedoff <dan.sosedoff@gmail.com> | 2019-03-02 04:16:43 +0100 |
---|---|---|
committer | Dan Sosedoff <dan.sosedoff@gmail.com> | 2019-03-02 04:16:43 +0100 |
commit | 5330599c93470f755a5e034c14639f7626ccde95 (patch) | |
tree | ef8b42108fd19d564144928b340ebe2273b60bd6 /Makefile | |
parent | skip integration test (diff) | |
download | forgejo-act-5330599c93470f755a5e034c14639f7626ccde95.tar.xz forgejo-act-5330599c93470f755a5e034c14639f7626ccde95.zip |
Capture errors from docker log output
- Refactored logDockerResponse function to remove extra if-else nesting
- logDockerResponse func now returns an error if error was detected from the log stream
- logDockerResponse will check for msg.ErrorDetail.Message and bail if there's an error
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,6 +17,9 @@ export GITHUB_TOKEN = $(shell cat ~/.config/github/token) default: check +test: + go test -cover -short ./... + check: $(ACT) -ra check |