mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 06:17:27 -08:00
Test Longer Tests in Travis (#2570)
* Test Longer Tests in Travis Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Make test Target Run All Tests * Add test-short to run short tests test is running all the tests now as we are running make tests in CircleCI and I think the base image is shared across Prometheus Org. Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Remove Empty Line Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
This commit is contained in:
parent
934d86b936
commit
cffb1acf7f
6
Makefile
6
Makefile
|
@ -36,10 +36,14 @@ check_license:
|
|||
@echo ">> checking license header"
|
||||
@./scripts/check_license.sh
|
||||
|
||||
test:
|
||||
test-short:
|
||||
@echo ">> running short tests"
|
||||
@$(GO) test -short $(pkgs)
|
||||
|
||||
test:
|
||||
@echo ">> running all tests"
|
||||
@$(GO) test $(pkgs)
|
||||
|
||||
format:
|
||||
@echo ">> formatting code"
|
||||
@$(GO) fmt $(pkgs)
|
||||
|
|
|
@ -81,6 +81,7 @@ The Makefile provides several targets:
|
|||
|
||||
* *build*: build the `prometheus` and `promtool` binaries
|
||||
* *test*: run the tests
|
||||
* *test-short*: run the short tests
|
||||
* *format*: format the source code
|
||||
* *vet*: check the source code for common errors
|
||||
* *assets*: rebuild the static assets
|
||||
|
|
Loading…
Reference in a new issue