grapl-security / grapl

Graph platform for Detection and Response
https://www.graplsecurity.com
Apache License 2.0
686 stars 78 forks source link

Customize which integ tests build/run with an environment variable #2099

Closed wimax-grapl closed 2 years ago

wimax-grapl commented 2 years ago

TLDR: This enables

RUST_INTEGRATION_TEST_FEATURES_OVERRIDE="e2e-tests/integration_tests,uid-allocator/integration_tests" \
  make test-integration-rust

It enables the behavior I initially wanted (and accidentally committed) that led to https://github.com/grapl-security/grapl/pull/2098


I tested it locally without specifying it and with specifying it.

codecov[bot] commented 2 years ago

Codecov Report

Base: 41.22% // Head: 41.21% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (8482e82) compared to base (e87fbd0). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2099 +/- ## ========================================== - Coverage 41.22% 41.21% -0.02% ========================================== Files 406 406 Lines 9879 9879 ========================================== - Hits 4073 4072 -1 - Misses 5806 5807 +1 ``` | [Impacted Files](https://codecov.io/gh/grapl-security/grapl/pull/2099?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=grapl-security) | Coverage Δ | | |---|---|---| | [src/rust/sysmon-parser/src/util.rs](https://codecov.io/gh/grapl-security/grapl/pull/2099/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=grapl-security#diff-c3JjL3J1c3Qvc3lzbW9uLXBhcnNlci9zcmMvdXRpbC5ycw==) | `40.66% <0.00%> (-0.67%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=grapl-security). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=grapl-security)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.