From 6ae5c349dcc6a4bd62ff08b70c1e3cb6b3835061 Mon Sep 17 00:00:00 2001 From: Alan Jowett Date: Wed, 15 Sep 2021 14:29:19 -0600 Subject: [PATCH] Only run performance tests on release (#543) Signed-off-by: Alan Jowett --- .github/workflows/build.yml | 4 ---- .github/workflows/driver_test.yml | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 418a5e3df..293156fff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,10 +85,6 @@ jobs: working-directory: ./${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}} run: ./ebpf_client.exe -s - - name: Run Performance Benchmark Tests - working-directory: ./${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}} - run: ./ebpf_performance.exe - - name: Check for crash dumps working-directory: c:/dumps/${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}} run: if (Test-Path *.dmp) { exit 1 } diff --git a/.github/workflows/driver_test.yml b/.github/workflows/driver_test.yml index e07034a81..49998c515 100644 --- a/.github/workflows/driver_test.yml +++ b/.github/workflows/driver_test.yml @@ -59,6 +59,11 @@ jobs: $env:install=0 .\sample_ext_app.exe -s + - name: Run Performance Benchmark Tests + if: ${{ env.BUILD_CONFIGURATION == 'Release' }} + working-directory: ./${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}} + run: ./ebpf_performance.exe + - name: Uninstall eBPF working-directory: ${{ github.workspace }} run: ./uninstall-ebpf.bat