Skip to content

Commit

Permalink
fix: add integration test tags
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Mar 16, 2024
1 parent 8d2c835 commit 1d92e12
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ integration-test-deps:

test:
$(MAKE) integration-test-deps
@$(GO) test ./... -v -race
@$(GO) test ./... -v -race -tags=integration

coverage:
@$(GO) test -coverprofile=.coverage ./internal/... && go tool cover -html=.coverage
Expand Down
2 changes: 2 additions & 0 deletions internal/adapter/yamlls/diagnostics_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package yamlls

import (
Expand Down
1 change: 0 additions & 1 deletion internal/adapter/yamlls/handler.go

This file was deleted.

4 changes: 3 additions & 1 deletion internal/adapter/yamlls/hover_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package yamlls

import (
Expand Down Expand Up @@ -48,7 +50,7 @@ func TestYamllsHoverIntegration(t *testing.T) {
file: "../../../testdata/example/templates/deployment.yaml",
position: lsp.Position{
Line: 1,
Character: 13,
Character: 12,
},
word: "kind",
expected: "Kind is a string value representing the REST resource this object represents",
Expand Down
2 changes: 2 additions & 0 deletions internal/adapter/yamlls/integration_test_utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package yamlls

import (
Expand Down

0 comments on commit 1d92e12

Please sign in to comment.