PR: https://gitea.com/earl-warren/gitea/pulls/2
To run tests use the cheatlist example with --volume=$(pwd)/../gof3:/gof3
to expose the local copy of gof3 so that local changes are taken into account before they are merged and add to go.mod
:
replace lab.forgefriends.org/friendlyforgeformat/gof3 => ../../gof3
docker run --rm -ti -e TEST_TAGS='bindata sqlite sqlite_unlock_notify' -e GOPATH=/tmp/cache/go-path -e GOCACHE=/tmp/cache/go-build --volume=$(pwd)/..:/tmp/cache --volume=$(pwd)/../gof3:/gof3 --volume $(pwd):/drone/src --workdir /drone/src --user gitea mytestenv bash -c 'make integrations.sqlite.test generate-ini-sqlite && GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test -test.v -test.run TestF3'