Skip to content

Commit

Permalink
add circleci with test coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
  • Loading branch information
derekperkins authored and puerco committed Jul 23, 2024
1 parent f0cba5e commit 41f0bd0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions throttler/.circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: golang

#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /go/src/github.com/nozzle/throttler
steps:
- checkout

# specify any bash command here prefixed with `run: `
- run: go test -coverprofile=coverage.txt -covermode=atomic

0 comments on commit 41f0bd0

Please sign in to comment.