Skip to content

Commit 056a2b2

Browse files
Copilotdata-douser
andauthored
Revert test-integration to skip pack install by default, add test-integration-with-packs for explicit pack setup
Agent-Logs-Url: https://github.com/advanced-security/codeql-development-mcp-server/sessions/a90a53a5-b2ad-4775-8b61-f11d16b33749 Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
1 parent 0092f97 commit 056a2b2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

client/Makefile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export CGO_ENABLED = 0
1212
# Build flags
1313
LDFLAGS := -s -w
1414

15-
.PHONY: all build test test-unit test-integration test-integration-fast lint clean install build-all
15+
.PHONY: all build test test-unit test-integration test-integration-with-packs lint clean install build-all
1616

1717
all: lint test build
1818

@@ -27,14 +27,16 @@ test: test-unit test-integration
2727
test-unit:
2828
go test ./...
2929

30-
## test-integration: Build binary and run integration tests (including codeql_pack_install)
30+
## test-integration: Build binary and run integration tests, skipping pack installation
31+
## Pack installation is skipped by default. Use test-integration-with-packs to include it.
3132
test-integration: build
32-
scripts/run-integration-tests.sh
33-
34-
## test-integration-fast: Build binary and run integration tests, skipping pack installation
35-
test-integration-fast: build
3633
scripts/run-integration-tests.sh --no-install-packs
3734

35+
## test-integration-with-packs: Build binary and run integration tests including codeql_pack_install
36+
## Use this when CodeQL pack dependencies have not been installed in your dev environment.
37+
test-integration-with-packs: build
38+
scripts/run-integration-tests.sh
39+
3840
## test-verbose: Run all unit tests with verbose output
3941
test-verbose:
4042
go test -v ./...

0 commit comments

Comments
 (0)