ci: static-checks: Move "sudo make test" to the new test matrix

We're moving it out of the previous "static-checks" confusing matrix,
and adding it to the matrix that was currently being used for the `make
vendor` and `make check` checks.

This will allow us to have one job per component, and with that we can
easily run those in parallel and on the zero cost runners.

Fixes: #7974 -- part 0

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-09-15 17:59:49 +02:00
parent 4e963cedf4
commit 509c309ab2

View File

@ -53,6 +53,7 @@ jobs:
- "make vendor" - "make vendor"
- "make check" - "make check"
- "make test" - "make test"
- "sudo -E PATH=\"$PATH\" make test"
include: include:
- component: agent - component: agent
component-path: src/agent component-path: src/agent
@ -131,7 +132,6 @@ jobs:
matrix: matrix:
cmd: cmd:
- "make static-checks" - "make static-checks"
- "sudo -E PATH=\"$PATH\" make test"
env: env:
RUST_BACKTRACE: "1" RUST_BACKTRACE: "1"
target_branch: ${{ github.base_ref }} target_branch: ${{ github.base_ref }}