Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

test: remove config_test and enable sdk tests #244

Merged
merged 3 commits into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test: move sdk config_test to integration
This change allows us to add SDK unit tests, and clarifies that
config_test is an integration test requiring a Coder server.
  • Loading branch information
jawnsy committed Feb 12, 2021
commit 18fd0b0cdf52ea805214de22589705f8abca720f
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ gendocs:
go run ./cmd/coder gen-docs ./docs

test/go:
go test $$(go list ./... | grep -v pkg/tcli | grep -v ci/integration | grep -v coder-sdk)
go test $$(go list ./... | grep -v pkg/tcli | grep -v ci/integration)

test/coverage:
go test \
-race \
-covermode atomic \
-coverprofile coverage \
$$(go list ./... | grep -v pkg/tcli | grep -v ci/integration | grep -v coder-sdk)
$$(go list ./... | grep -v pkg/tcli | grep -v ci/integration)

goveralls -coverprofile=coverage -service=github
2 changes: 1 addition & 1 deletion coder-sdk/config_test.go → ci/integration/config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package coder_test
package integration

import (
"context"
Expand Down