-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Piotr Sikora <[email protected]>
- Loading branch information
1 parent
2d3ff62
commit 2dc33dc
Showing
2 changed files
with
31 additions
and
26 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Development | ||
|
||
## Testing | ||
|
||
GitHub Actions can be executed locally using the [`act`] tool. | ||
|
||
All tests can be executed using: | ||
|
||
act | ||
|
||
Individual tests can be executed using `-j` and `--matrix` parameters, e.g.: | ||
|
||
act -j bazel | ||
act -j stable | ||
act -j nightly | ||
act -j examples --matrix example:http_auth_random | ||
|
||
## Updating Bazel dependencies | ||
|
||
When adding and/or updating Cargo dependencies, the existing Bazel `BUILD` files | ||
must be regenerated to match the updated `Cargo.toml`: | ||
|
||
```sh | ||
bazelisk run //bazel/cargo:crates_vendor -- --repin all | ||
``` | ||
|
||
|
||
[`act`]: https://github.com/nektos/act | ||
[`bazelisk`]: https://github.com/bazelbuild/bazelisk |
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