Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole authored Dec 20, 2024
1 parent 8d9beb9 commit 490a7b1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@ To change the Geb driver used to run the functional tests supply the geb.env sys
./gradlew -Dgeb.env=chromeHeadless iT

### Usage
To test a PR in grails/grails-core with grails-functional-tests before merging:
To test a PR in [grails/grails-core](https://github.com/grails/grails-core) with grails-functional-tests before merging:
1. Publish the PR branch to Maven Local:
Run this in grails/grails-core:
Run this in `grails/grails-core`:
```
./gradlew pTML
```
2. Checkout the relevant branch (e.g. 7.0.x) in grails/grails-functional-tests
3. Add `mavenLocal()` at the top of the repositories block in the root `build.gradle` of `grails/grails-functional-tests`.
https://github.com/grails/grails-functional-tests/blob/2df395bf60d42c4d596837453dc717e8c3d638e4/build.gradle#L26-L35
4. Run the Functional Tests:
```
git clone --branch 7.0.x --single-branch https://github.com/grails/grails-functional-tests.git
```
3.
In grails/grails-functional-tests, run:
```
./gradlew build
cd grails-functional-tests
./gradlew build -PmavenLocal
```
5. Check the Results:
4. Check the Results:
Verify that the build completes successfully.
```console
BUILD SUCCESSFUL in 4m 20s
Expand Down

0 comments on commit 490a7b1

Please sign in to comment.