-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9532 from habitat-sh/test_rel
testing release branches
- Loading branch information
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
## PR Verification Testing | ||
|
||
All components of habitat are tested when PRs are created. The helper scripts are designed to run against a single component (such as `common`), in an environment that has habitat and rust preinstalled. | ||
|
||
#### Linux | ||
``` | ||
.expeditor/scripts/verify/run_cargo_test.sh <component> | ||
``` | ||
*Parameters:* | ||
`--test-options` - allows you to pass options such as `--test-threads=1` to the cargo test command. | ||
`--features` - allows you to enable specific features when running tests. | ||
|
||
#### Windows (powershell 5+) | ||
``` | ||
.expeditor/scripts/verify/run_cargo_test.ps1 <component> | ||
``` | ||
*Parameters:* | ||
`--TestOptions` - allows you to pass options such as `--test-threads=1` to the cargo test command. | ||
`--Features` - allows you to enable specific features when running tests. | ||
|
||
####Examples | ||
## PR Verification Testing | ||
|
||
All components of habitat are tested when PRs are created. That's right...I said created. The helper scripts are designed to run against a single component (such as `common`), in an environment that has habitat and rust preinstalled. | ||
|
||
#### Linux | ||
``` | ||
.expeditor/scripts/verify/run_cargo_test.sh <component> | ||
``` | ||
*Parameters:* | ||
`--test-options` - allows you to pass options such as `--test-threads=1` to the cargo test command. | ||
`--features` - allows you to enable specific features when running tests. | ||
|
||
#### Windows (powershell 5+) | ||
``` | ||
.expeditor/scripts/verify/run_cargo_test.ps1 <component> | ||
``` | ||
*Parameters:* | ||
`--TestOptions` - allows you to pass options such as `--test-threads=1` to the cargo test command. | ||
`--Features` - allows you to enable specific features when running tests. | ||
|
||
####Examples | ||
See [verify.pipeline.yml](.expeditor/verify.pipeline.yml) for a full list of what is run in the CI pipeline, and what parameters are used. |