summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Sosedoff <dan.sosedoff@gmail.com>2019-03-02 04:16:43 +0100
committerDan Sosedoff <dan.sosedoff@gmail.com>2019-03-02 04:16:43 +0100
commit5330599c93470f755a5e034c14639f7626ccde95 (patch)
treeef8b42108fd19d564144928b340ebe2273b60bd6 /Makefile
parentskip integration test (diff)
downloadforgejo-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--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2866dcc..35fcfe2 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,9 @@ export GITHUB_TOKEN = $(shell cat ~/.config/github/token)
default: check
+test:
+ go test -cover -short ./...
+
check:
$(ACT) -ra check