Skip to content

Commit e6929d9

Browse files
committed
circleci: run tests
For some reason, CircleCI only ran a _build_, but did not run any test. This patch adds a "test" step to CircleCI. `root` is required for some of the tests (doing chown/chmod). Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 09f4792 commit e6929d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

circle.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
- run:
2323
name: gofmt
2424
command: test -z "$(gofmt -s -l . | tee /dev/stderr)"
25+
- run:
26+
name: Run tests
27+
command: sudo -E env PATH=$PATH go test -v ./...
28+
environment:
29+
GOOS: linux
2530
# make sure that it passes build on both Linux and Windows
2631
- run:
2732
name: Build for Linux

0 commit comments

Comments
 (0)