Updating CI for new command names.

This commit is contained in:
Bader Boland
2020-01-24 13:08:30 -05:00
parent 1d9968b3af
commit e873a40cc3

View File

@@ -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