From 668b7effb4135914a815c5c5f01f85b05d1ed900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 15 Sep 2023 17:59:49 +0200 Subject: [PATCH] ci: static-checks: Move "sudo make test" to the new test matrix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit 509c309ab22096cd7c340908cf6c71ab15d3a197) --- .github/workflows/static-checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-checks.yaml b/.github/workflows/static-checks.yaml index 7be939a4be..7963301293 100644 --- a/.github/workflows/static-checks.yaml +++ b/.github/workflows/static-checks.yaml @@ -53,6 +53,7 @@ jobs: - "make vendor" - "make check" - "make test" + - "sudo -E PATH=\"$PATH\" make test" include: - component: agent component-path: src/agent @@ -131,7 +132,6 @@ jobs: matrix: cmd: - "make static-checks" - - "sudo -E PATH=\"$PATH\" make test" env: RUST_BACKTRACE: "1" target_branch: ${{ github.base_ref }}