diff --git a/README.md b/README.md index 77f5eb7..7d1aaa7 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ export PATH=$(pwd)/setup-forgejo:$PATH git clone https://code.forgejo.org/forgejo/end-to-end cd end-to-end export DIR=/tmp/end-to-end -sudo rm -fr /srv/example ; sudo mkdir /srv/example ; sudo chown -R $USER /srv/example +rm -fr /tmp/end-to-end ; sudo rm -fr /srv/example ; sudo mkdir /srv/example ; sudo chown -R $USER /srv/example ``` Run one example @@ -37,7 +37,7 @@ Run one example actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22 cron # runs actions/example-cron ``` -Cleanup +Cleanup. It will teardown Forgejo & the runner and not run them because there is nothing to test. ```sh actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22 none @@ -49,6 +49,13 @@ Run all examples for v1_22 actions/run.sh https://codeberg.org/forgejo-experimental/forgejo/releases/download/v1.22.0-test/forgejo-1.22.0-test-linux-amd64 v1.22.0-test v1_22 ``` +Run from sources + +```sh +make TAGS='bindata sqlite sqlite_unlock_notify' generate forgejo +cp -a forgejo $DIR/forgejo +``` + ### Remote testing To reduce the runtime the following variables can be set to control