Files
amcs/vendor/github.com/uptrace/bun/CONTRIBUTING.md
Hein 1adf50e3db
CI / build-and-test (push) Failing after 1s
Release / release (push) Failing after 19m26s
fix(go.sum): update ResolveSpec dependency to v1.0.87
2026-06-23 13:17:16 +02:00

677 B

Running tests

To run tests, you need Docker which starts PostgreSQL and MySQL servers:

cd internal/dbtest
./test.sh

To ease debugging, you can run tests and print all executed queries:

BUNDEBUG=2 TZ= go test -run=TestName

Releasing

  1. Run release.sh script which updates versions in go.mod files and pushes a new branch to GitHub:
TAG=v1.0.0 ./scripts/release.sh
  1. Open a pull request and wait for the build to finish.

  2. Merge the pull request and run tag.sh to create tags for packages:

TAG=v1.0.0 ./scripts/tag.sh

Documentation

To contribute to the docs visit https://github.com/uptrace/bun-docs