gitea-sonarqube-bot/CONTRIBUTING.md
justusbunsi 16f545f179
Fix failing tests
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-03 17:49:23 +02:00

1.4 KiB

Contribution Guidelines

Table of Contents

Setup development environment

# Build docker environment
docker build -t gitea-sonarqube-pr-bot/dev -f contrib/Dockerfile contrib

# Start the environment
docker run --rm -it -p 9100:8080 -v "$(pwd):/projects" gitea-sonarqube-pr-bot/dev

# Build the binary
go build ./cmd/gitea-sonarqube-bot

# Start the server
./gitea-sonarqube-bot

Testing

# generic test execution
go test ./...

# or with coverage report
go test -coverprofile cover.out ./...

Developer Certificate of Origin (DCO)

I consider the act of contributing to the code by submitting a Pull Request as the "Sign off" or agreement to the certifications and terms of the DCO and MIT license. No further action is required. Additionally, you could add a line at the end of your commit message.

Signed-off-by: Joe Smith <joe.smith@email.com>

If you set your user.name and user.email git configs, you can add the line to the end of your commit automatically with git commit -s.

I assume in good faith that the information you provide is legally binding.