Skip to content

Commit 4f9d741

Browse files
committed
simplify e2e test running
1 parent 7b91924 commit 4f9d741

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build:
55
test:
66
go test -v -short ./...
77
e2e-test:
8-
docker-compose run --rm auditor go test -v ./...
8+
docker-compose up --abort-on-container-exit --build
99
static:
1010
go get -t -v ./...
1111
go build --ldflags '-extldflags "-static"'

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
build: testing/docker/alpine-sshd-test-test-no-id-binary-no-tunnel
1818
auditor:
1919
build: .
20-
command: ./ssh-auditor version
20+
command: go test ./...
2121
volumes:
2222
- .:/go/src/github.com/ncsa/ssh-auditor
2323
depends_on:

0 commit comments

Comments
 (0)