Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makefile: Add a 'make checkall' target #2292

Merged
merged 1 commit into from Feb 27, 2020

Conversation

stevesloka
Copy link
Member

Fixes #2291

This PR adds a make checkall task which runs the tests, install, linting and generate tasks. It's using the aliases such that as these commands grow, the meaning behind the commands doesn't have to be translated.

Additionally, it renames the check- tasks under the lint task to be prefixed with lint-* to keep consistency.

Signed-off-by: Steve Sloka slokas@vmware.com

@codecov
Copy link

codecov bot commented Feb 25, 2020

Codecov Report

Merging #2292 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2292   +/-   ##
=======================================
  Coverage   77.45%   77.45%           
=======================================
  Files          59       59           
  Lines        5234     5234           
=======================================
  Hits         4054     4054           
  Misses       1092     1092           
  Partials       88       88

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 92f6a90...3d96f82. Read the comment docs.

@codecov
Copy link

codecov bot commented Feb 25, 2020

Codecov Report

Merging #2292 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2292   +/-   ##
=======================================
  Coverage   77.46%   77.46%           
=======================================
  Files          59       59           
  Lines        5237     5237           
=======================================
  Hits         4057     4057           
  Misses       1092     1092           
  Partials       88       88           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ded06a8...49bc994. Read the comment docs.

Copy link
Member

@youngnick youngnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good for my workflow too, thanks.

Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Outdated
@@ -35,6 +35,9 @@ export GO111MODULE=on
.PHONY: check
check: install check-test check-test-race ## Install and run tests

.PHONY: checkall
checkall: check lint generate generate-check
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure you don't want to just bundle this up under check?

Signed-off-by: Steve Sloka <slokas@vmware.com>
@stevesloka stevesloka merged commit 4e85fc0 into projectcontour:master Feb 27, 2020
@stevesloka stevesloka deleted the addMakeAll branch February 27, 2020 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

makefile: Run all tests in single command from makefile
3 participants