make publish code coverage fail if fails

This commit is contained in:
Arpad Ryszka 2017-11-05 04:49:36 +01:00
parent 660d50783a
commit c32e326311

View File

@ -30,7 +30,7 @@ show-cover: .coverprofile
publish-coverage: .coverprofile publish-coverage: .coverprofile
curl -s https://codecov.io/bash -o codecov curl -s https://codecov.io/bash -o codecov
bash codecov -f .coverprofile bash codecov -Zf .coverprofile
cpu.out: $(SOURCES) $(PARSERS) cpu.out: $(SOURCES) $(PARSERS)
go test -v -run TestMMLFile -cpuprofile cpu.out go test -v -run TestMMLFile -cpuprofile cpu.out