Commit 26950b89 authored by Adam Reese's avatar Adam Reese Committed by GitHub

Merge pull request #1043 from adamreese/fix/circle-ci-memory

fix(ci): disable running coverage in parallel
parents db74f74b 7ef57515
......@@ -28,19 +28,9 @@ generate_cover_data() {
(
local output="${coverdir}/${d//\//-}.cover"
go test -coverprofile="${output}" -covermode="$covermode" "$d"
) &
)
done
local fails
fails=0
for job in $(jobs -p); do
wait "${job}" || let "fails+=1"
done
if (( fails != 0 )); then
echo "FAILED"
exit ${fails}
fi
echo "mode: $covermode" >"$profile"
grep -h -v "^mode:" "$coverdir"/*.cover >>"$profile"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment