mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -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"
|
@echo ">> checking license header"
|
||||||
@./scripts/check_license.sh
|
@./scripts/check_license.sh
|
||||||
|
|
||||||
test:
|
test-short:
|
||||||
@echo ">> running short tests"
|
@echo ">> running short tests"
|
||||||
@$(GO) test -short $(pkgs)
|
@$(GO) test -short $(pkgs)
|
||||||
|
|
||||||
|
test:
|
||||||
|
@echo ">> running all tests"
|
||||||
|
@$(GO) test $(pkgs)
|
||||||
|
|
||||||
format:
|
format:
|
||||||
@echo ">> formatting code"
|
@echo ">> formatting code"
|
||||||
@$(GO) fmt $(pkgs)
|
@$(GO) fmt $(pkgs)
|
||||||
|
|
|
@ -81,6 +81,7 @@ The Makefile provides several targets:
|
||||||
|
|
||||||
* *build*: build the `prometheus` and `promtool` binaries
|
* *build*: build the `prometheus` and `promtool` binaries
|
||||||
* *test*: run the tests
|
* *test*: run the tests
|
||||||
|
* *test-short*: run the short tests
|
||||||
* *format*: format the source code
|
* *format*: format the source code
|
||||||
* *vet*: check the source code for common errors
|
* *vet*: check the source code for common errors
|
||||||
* *assets*: rebuild the static assets
|
* *assets*: rebuild the static assets
|
||||||
|
|
Loading…
Reference in a new issue