From 8680c127442f90291023d4cf256cdb3eba5f8718 Mon Sep 17 00:00:00 2001 From: Lisanna Dettwyler Date: Thu, 6 Jun 2024 21:01:14 +0000 Subject: [PATCH] Add check-report-utils to build-quick.yml --- .github/workflows/build-quick.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-quick.yml b/.github/workflows/build-quick.yml index 00611caf..cb590bff 100644 --- a/.github/workflows/build-quick.yml +++ b/.github/workflows/build-quick.yml @@ -46,4 +46,23 @@ jobs: -D CMAKE_CXX_COMPILER_LAUNCHER=ccache \ -D CMAKE_BUILD_TYPE=Release \ .. - make -j$(nproc) + make -j$(nproc) install + - uses: actions/upload-artifact@v4 + with: + name: tests + path: ./build/out + + # Validates that all tests have assigned features in ./scripts/level_zero_report_utils.py + check-report-utils: + if: github.repository_owner == 'oneapi-src' + runs-on: [ubuntu-latest] + needs: [build-linux] + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: tests + - run: | #bash + ./scripts/run_test_report.py \ + --binary_dir ./build/out \ + --export_test_plan plan.csv