Skip to content

Commit

Permalink
Add dlc env helper script to PR template (#4025)
Browse files Browse the repository at this point in the history
* Update PULL_REQUEST_TEMPLATE.md

Add documentation to use prepare script

* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

---------

Co-authored-by: arjkesh <[email protected]>
  • Loading branch information
jessepeq23 and arjkesh authored Jul 1, 2024
1 parent 103424d commit 7d0994d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@
### Description

### Tests run
<details>
<summary>Confused on how to run tests? Try using the helper utility...</summary>

Assuming your remote is called `origin` (you can find out more with `git remote -v`)...

- Run default builds and tests for a particular buildspec - also commits and pushes changes to remote; Example:

`python src/prepare_dlc_dev_environment.py -bc </path/to/buildspec.yml> -p origin`

- Enable specific tests for a buildspec or set of buildspecs - also commits and pushes changes to remote; Example:

`python src/prepare_dlc_dev_environment.py -bc </path/to/buildspec.yml> -t sanity_tests -p origin`

- Restore TOML file when ready to merge

`python src/prepare_dlc_dev_environment.py -rcp origin`
</details>


**NOTE: By default, docker builds are disabled. In order to build your container, please update dlc_developer_config.toml and specify the framework to build in "build_frameworks"**
- [ ] I have run builds/tests on commit <INSERT COMMIT ID> for my changes.
Expand Down

0 comments on commit 7d0994d

Please sign in to comment.