diff --git a/.circleci/config.yml b/.circleci/config.yml index 7874ad62..6b659950 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,7 +61,7 @@ references: run: name: Test Dashboard command: | - go run main.go --dashboard --dashboard-port 3000 --audit-path ./examples & + go run main.go dashboard --port 3000 --audit-path ./examples & sleep 30 curl -f http://localhost:3000 > /dev/null curl -f http://localhost:3000/health > /dev/null @@ -140,7 +140,7 @@ jobs: - run: go list ./... | grep -v vendor | xargs golint -set_exit_status - run: go list ./... | grep -v vendor | xargs go vet - run: go test ./pkg/... -coverprofile=coverage.txt -covermode=count - - run: go run main.go --audit-path ./deploy --set-exit-code-below-score 100 --set-exit-code-on-error + - run: go run main.go audit --audit-path ./deploy --set-exit-code-below-score 100 --set-exit-code-on-error - *update_coverage - *test_binary_dashboard