Skip to content

Commit a573351

Browse files
committed
Enable integration tests
1 parent 377df6f commit a573351

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
make test
4141
4242
- name: Test
43-
run: make test
43+
run: make test-integration
4444

4545
- name: Down the stack
4646
if: always()

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ test:
1111
@echo "$(OK_COLOR)==> Running tests$(NO_COLOR)"
1212
@go test -v -cover -covermode=atomic -coverprofile=tests.out ./...
1313

14+
test-integration:
15+
@echo "$(OK_COLOR)==> Running tests$(NO_COLOR)"
16+
@go test --tags=integration -v -cover -covermode=atomic -coverprofile=tests.out ./...
17+
18+
1419
setup:
1520
@echo "$(OK_COLOR)==> Setting up deps$(NO_COLOR)"
1621
@awslocal kinesis create-stream --stream-name test --shard-count 1

es/amqp/amqp_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build integration
2+
13
package amqp_test
24

35
import (

0 commit comments

Comments
 (0)