mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-06-28 04:43:44 +00:00
update HACKING instructions
This commit is contained in:
parent
28c365c695
commit
d92b2a7d3e
2 changed files with 21 additions and 7 deletions
14
README.md
14
README.md
|
@ -92,6 +92,20 @@ The test environment consists of the following (all users password is admin1234)
|
|||
* An unprivileged user user2
|
||||
* The repository user2/destinationrepo
|
||||
|
||||
```sh
|
||||
git clone https://code.forgejo.org/actions/setup-forgejo
|
||||
export PATH=$(pwd)/setup-forgejo:$PATH
|
||||
git clone https://code.forgejo.org/actions/cascading-pr
|
||||
cd cascading-pr
|
||||
forgejo-curl.sh logout
|
||||
forgejo-runner.sh teardown
|
||||
forgejo.sh teardown
|
||||
forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo 1.21
|
||||
FORGEJO_RUNNER_CONFIG=$(pwd)/tests/runner-config.yaml forgejo-runner.sh setup
|
||||
url=http://$(cat forgejo-ip):3000
|
||||
firefox $url
|
||||
```
|
||||
|
||||
The test for a successful run of the cascading-pr action consists of:
|
||||
|
||||
* creating a PR from branch1 to main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue