watchtower/scripts/codecov.sh
nils måsén b4cf17d33f
feat: make head pull failure warning toggleable (#912)
* feat: make head pull failure warning toggleable

* expect prometheus tests to go through EVENTUALLY

* wait for queue to be empty before checking test conditions

* clean up new head failure toggle

* fixup! clean up new head failure toggle

* test: add registry tests

* test: add warn on head failure tests

* fix client interface and make tests hit more lines

* make all tests use NewClient instead of creating a struct pointer

* fix lint issues

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2021-04-23 16:34:21 +02:00

6 lines
No EOL
158 B
Bash
Executable file

#!/usr/bin/env bash
go test -v -coverprofile coverage.out -covermode atomic ./...
# Requires CODECOV_TOKEN to be set
bash <(curl -s https://codecov.io/bash)