run.sh also runs in the CI

This commit is contained in:
Earl Warren 2023-10-13 15:23:50 +02:00
parent 84c728fdc5
commit 63ccad04bc
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 20 additions and 6 deletions

View file

@ -9,11 +9,16 @@ The test environment consists of the following
* The repository user1/originrepo
* contains a pull_request workflow using cascading-pr that targets user2/destinationrepo
* contains a script that will modify user2/destinationrepo
* a PR from branch1 to main
* a branch1 at the same commit as main
* The repository user1/cascading-pr with the action under test
* An unprivileged user user2
* The repository user2/destinationrepo
The test for a successful run of the cascading-pr action consists of:
* creating a PR from branch1 to main
* wait for the commit status until it is successful
## testing an update on the action
* run `tests/run.sh --debug` once so all is in place