Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adicionar verificação de código no CI. #11

Open
luizvnasc opened this issue Dec 20, 2019 · 2 comments
Open

Adicionar verificação de código no CI. #11

luizvnasc opened this issue Dec 20, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@luizvnasc
Copy link
Member

luizvnasc commented Dec 20, 2019

@joepreludian tem como adicionarmos algumas verificações de código no CI como cobertura de testes e go report card?
Segue um exemplo de outros projetos que possuo:

language: go

go:
    - 1.x
    - '1.10'
    - 1.11.x
    - master
before_install:
    - go get github.com/mattn/goveralls
script:
    - go test ./... -v -covermode=count -coverprofile=coverage.out
    - $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-cici
after_script:
    - curl -d "repo=github.com/luizvnasc/gonfig" https://goreportcard.com/checks

Também teria que ativar o projeto no coveralls, caso esse seja o app adotado para verificação de cobertura de testes.

@joepreludian joepreludian self-assigned this Dec 20, 2019
@joepreludian
Copy link
Contributor

Claro. Totalmente viável de se fazer. Pode deixar comigo!

@joepreludian joepreludian added the enhancement New feature or request label Dec 20, 2019
@luizvnasc
Copy link
Member Author

Se for seguir meu exemplo mude a primeira linha de script para :

script:
    - go test ./core/... -v -covermode=count -coverprofile=coverage.out
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants