diff .github/workflows/ci-test.yml @ 7871:30fcdf60da44

test: fix benchmark.py and set up to run under github if requested Add the word "benchmark" to the comment to get the benchmarking code to run.
author John Rouillard <rouilj@ieee.org>
date Wed, 10 Apr 2024 00:14:58 -0400
parents d26eb77e01d8
children 163d2c60fdf3
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Mon Apr 08 13:14:57 2024 -0400
+++ b/.github/workflows/ci-test.yml	Wed Apr 10 00:14:58 2024 -0400
@@ -313,6 +313,10 @@
       #         -f scripts/Docker/Dockerfile . 
 
 
+      - name: run benchmarks
+        if: "contains(github.event.head_commit.message, 'benchmark')"        
+        run: PYTHONPATH=. python test/benchmark.py
+        
   # in parallel build coveralls requires a finish step
   finish:
     needs: test

Roundup Issue Tracker: http://roundup-tracker.org/