Skip to content

Commit

Permalink
ci: run benchmarks on non-coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Dec 3, 2024
1 parent 6de4010 commit 794b2ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 794b2ca

Please sign in to comment.