Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 46935b0

Browse files
committed
Move tests to each backend folder
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent ed67111 commit 46935b0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+127
-184
lines changed

.github/labeler.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ local:
1010
cli:
1111
- cli/**/*
1212

13+
metrics:
14+
- cli/metrics/**/*
15+
1316
api:
1417
- api/**/*
15-
- protos/**/*
18+
- cli/server/protos/**/*
1619

1720
ci:
1821
- .github/**/*
1922

2023
documentation:
2124
- docs/**/*
22-
23-
metrics:
24-
- metrics/**/*

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ jobs:
6464
run: make -f builder.Makefile cross
6565

6666
- name: Test
67-
env:
6867
run: make -f builder.Makefile test
6968

7069
- name: Build for local E2E

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ cli: ## Compile the cli
4444
--output ./bin
4545

4646
e2e-local: ## Run End to end local tests. Set E2E_TEST=TestName to run a single test
47-
go test -count=1 -v $(TEST_FLAGS) ./tests/e2e ./tests/compose-e2e ./tests/skip-win-ci-e2e ./local/e2e
47+
go test -count=1 -v $(TEST_FLAGS) ./local/e2e/compose ./local/e2e/container ./local/e2e/cli-only
4848

4949
e2e-win-ci: ## Run end to end local tests on Windows CI, no Docker for Linux containers available ATM. Set E2E_TEST=TestName to run a single test
50-
go test -count=1 -v $(TEST_FLAGS) ./tests/e2e
50+
go test -count=1 -v $(TEST_FLAGS) ./local/e2e/cli-only
5151

5252
e2e-aci: ## Run End to end ACI tests. Set E2E_TEST=TestName to run a single test
53-
go test -count=1 -v $(TEST_FLAGS) ./tests/aci-e2e
53+
go test -count=1 -v $(TEST_FLAGS) ./aci/e2e
5454

5555
e2e-ecs: ## Run End to end ECS tests. Set E2E_TEST=TestName to run a single test
56-
go test -timeout 20m -count=1 -v $(TEST_FLAGS) ./tests/ecs-e2e
56+
go test -timeout 20m -count=1 -v $(TEST_FLAGS) ./ecs/e2e/ecs ./ecs/e2e/ecs-local
5757

5858
cross: ## Compile the CLI for linux, darwin and windows
5959
@docker build . --target cross \

0 commit comments

Comments
 (0)