mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Speedup ci: Only run tests on change (#1729)
* Fix unit test for `GhApiClient` Set client-side rate limit to 1 request per 200 ms Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Only run `detect-targets` test if changed Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Only run unit tests for crates that are changed Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix job `changed-files` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix job `changed-files` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix shell error in job `changed-files` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * FIx separator for `changed-files` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix passning of craetes to run Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix passing of `CARGO_NEXTEST_ADDITIONAL_ARGS` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix deciding which crates to test on windows Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix just recipe `unit-tests` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Split test into two jobs so that they will have they own cache (since different feature flags are used). Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
9a0367b3ec
commit
2feac66e14
3 changed files with 105 additions and 10 deletions
|
@ -493,7 +493,7 @@ mod test {
|
|||
remote::Client::new(
|
||||
concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")),
|
||||
None,
|
||||
NonZeroU16::new(10).unwrap(),
|
||||
NonZeroU16::new(200).unwrap(),
|
||||
1.try_into().unwrap(),
|
||||
[],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue