diff --git a/README.md b/README.md index fa8c10e..4b5808a 100644 --- a/README.md +++ b/README.md @@ -50,25 +50,26 @@ cd end-to-end ```sh make TAGS='bindata sqlite sqlite_unlock_notify' generate forgejo -cp -a forgejo /srv/forgejo-binaries/forgejo-8.0-dev +cp -a forgejo /srv/forgejo-binaries/forgejo-10.0 ``` -It will be used whenever the version `8.0-dev` is specified in a test. +It will be used whenever the version `10.0` is specified in a test. ## Running actions locally To run and debug workflows from `actions/example-*`, from the root of the source directory, with docker and forgejo-curl.sh installed, mimic -what `.forgejo/workflows/actions.yml` does. There may be some manual +what `.forgejo/workflows/end-to-end.yml` does. There may be some manual tweaking (such as creating temporary directories) because the tests run as root in the context of Forgejo Actions and assume they have admin permissions. But they do not need to run as root and must work fine when run as a regular user. ```sh -./end-to-end.sh actions_setup 1.21 +./end-to-end.sh run dependencies +./end-to-end.sh actions_setup 10.0 firefox 0.0.0.0:3000 # user root / admin1234 -./end-to-end.sh actions_verify_example artifacts +./end-to-end.sh actions_verify_example echo ./end-to-end.sh actions_teardown ``` ## Running other tests locally