Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Add real build presubmit tests (#84)
Browse files Browse the repository at this point in the history
Addresses #23.

* Update test-infra to use the default build/integration test runners, which includes building go code and linting markdown files.
  • Loading branch information
adrcunha authored and knative-prow-robot committed Jan 19, 2019
1 parent 728cb04 commit 42a7579
Show file tree
Hide file tree
Showing 7 changed files with 589 additions and 333 deletions.
4 changes: 2 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions test/presubmit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@

source $(dirname $0)/../vendor/github.com/knative/test-infra/scripts/presubmit-tests.sh

function build_tests() {
header "TODO(#23): write build tests"
}
# TODO(#23): Write more build tests.

function unit_tests() {
header "TODO(#22): Write unit tests"
}

function integration_tests() {
./test/e2e-tests.sh
}
# We use the default build and integration test runners.

main $@
161 changes: 94 additions & 67 deletions vendor/github.com/knative/test-infra/scripts/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 42a7579

Please sign in to comment.