From 222d98d6aee068bdcbf0ffd8dc8afedb4d6e30d3 Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Tue, 27 Jul 2021 21:28:14 +0800 Subject: [PATCH] CI: beautify goconvey output --- .github/workflows/tunasync.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tunasync.yml b/.github/workflows/tunasync.yml index 61da429..72553ca 100644 --- a/.github/workflows/tunasync.yml +++ b/.github/workflows/tunasync.yml @@ -60,12 +60,12 @@ jobs: - name: Run Unit tests. run: | go install github.com/wadey/gocovmerge@latest - make test + TERM=xterm-256color make test - name: Run Additional Unit tests. run: | make build-test-worker - sudo cgexec -g "*:/" bash -c "echo 0 > /sys/fs/cgroup/systemd/tasks; exec sudo -u $USER env USECURCGROUP=1 cgexec -g cpu,memory:tunasync ./worker.test -test.v -test.coverprofile profile2.cov -test.run TestCgroup" + sudo cgexec -g "*:/" bash -c "echo 0 > /sys/fs/cgroup/systemd/tasks; exec sudo -u $USER env USECURCGROUP=1 TERM=xterm-256color cgexec -g cpu,memory:tunasync ./worker.test -test.v=true -test.coverprofile profile2.cov -test.run TestCgroup" - name: Combine coverage files run : |