From 794b2ca12cfc328a224fea92a5e1eb16d43a8188 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Tue, 3 Dec 2024 14:39:24 -0500 Subject: [PATCH] ci: run benchmarks on non-coverage workflow --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6e73f91..d6b3d075 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -423,7 +423,7 @@ jobs: fi ### run benchmarks - name: benchmark algorithms - if: ${{ matrix.id == 'coverage' }} # use the coverage job's GITHUB_STEP_SUMMARY + if: ${{ matrix.id == 'cpp' && inputs.id == 'linux-latest' }} run: | for suite in single_threaded memoize; do meson test --benchmark --suite $suite -C iguana_build | tee benchmark_$suite.txt @@ -433,8 +433,8 @@ jobs: - name: coverage if: ${{ matrix.id == 'coverage' }} run: | - ninja -C iguana_build coverage-html - # ninja -C iguana_build coverage-text + # ninja -C iguana_build coverage-html + ninja -C iguana_build coverage-text # mv iguana_build/meson-logs/coveragereport coverage-report # echo '### Coverage Report' >> $GITHUB_STEP_SUMMARY # echo '```' >> $GITHUB_STEP_SUMMARY