mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
ci: use bazel for unittests
This commit is contained in:
parent
b467327128
commit
c98644df2b
4 changed files with 19 additions and 110 deletions
|
@ -83,13 +83,13 @@ You can also copy the `remote_cache` config from `.bazelrc` to your `~/.bazelrc`
|
|||
|
||||
# Test
|
||||
|
||||
You can run all integration and unitttests like this:
|
||||
You can run all integration like this:
|
||||
|
||||
```sh
|
||||
ctest -j `nproc`
|
||||
```
|
||||
|
||||
You can limit the execution of tests to specific targets with e.g. `ctest -R unit-*` to only execute unit tests.
|
||||
You can limit the execution of tests to specific targets with e.g. `ctest -R integration-node-operator`.
|
||||
|
||||
Some of the tests rely on libvirt and won't work if you don't have a virtualization capable CPU. You can find instructions on setting up libvirt in our [QEMU README](qemu.md).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue