Skip to content

Commit

Permalink
Enable integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
italolelis committed Mar 8, 2022
1 parent 377df6f commit a573351
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
make test
- name: Test
run: make test
run: make test-integration

- name: Down the stack
if: always()
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ test:
@echo "$(OK_COLOR)==> Running tests$(NO_COLOR)"
@go test -v -cover -covermode=atomic -coverprofile=tests.out ./...

test-integration:
@echo "$(OK_COLOR)==> Running tests$(NO_COLOR)"
@go test --tags=integration -v -cover -covermode=atomic -coverprofile=tests.out ./...


setup:
@echo "$(OK_COLOR)==> Setting up deps$(NO_COLOR)"
@awslocal kinesis create-stream --stream-name test --shard-count 1
2 changes: 2 additions & 0 deletions es/amqp/amqp_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package amqp_test

import (
Expand Down

0 comments on commit a573351

Please sign in to comment.