CONTRIBUTING.md (676B)
1 ## Running tests 2 3 To run tests, you need Docker which starts PostgreSQL and MySQL servers: 4 5 ```shell 6 cd internal/dbtest 7 ./test.sh 8 ``` 9 10 To ease debugging, you can run tests and print all executed queries: 11 12 ```shell 13 BUNDEBUG=2 TZ= go test -run=TestName 14 ``` 15 16 ## Releasing 17 18 1. Run `release.sh` script which updates versions in go.mod files and pushes a new branch to GitHub: 19 20 ```shell 21 TAG=v1.0.0 ./scripts/release.sh 22 ``` 23 24 2. Open a pull request and wait for the build to finish. 25 26 3. Merge the pull request and run `tag.sh` to create tags for packages: 27 28 ```shell 29 TAG=v1.0.0 ./scripts/tag.sh 30 ``` 31 32 ## Documentation 33 34 To contribute to the docs visit https://github.com/go-bun/bun-docs