Mercurial > p > roundup > code
comparison .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 |
comparison
equal
deleted
inserted
replaced
| 7870:fe77e4325084 | 7871:30fcdf60da44 |
|---|---|
| 311 # run: | | 311 # run: | |
| 312 # docker build -t roundup-app-rel --build-arg="source=pypi" \ | 312 # docker build -t roundup-app-rel --build-arg="source=pypi" \ |
| 313 # -f scripts/Docker/Dockerfile . | 313 # -f scripts/Docker/Dockerfile . |
| 314 | 314 |
| 315 | 315 |
| 316 - name: run benchmarks | |
| 317 if: "contains(github.event.head_commit.message, 'benchmark')" | |
| 318 run: PYTHONPATH=. python test/benchmark.py | |
| 319 | |
| 316 # in parallel build coveralls requires a finish step | 320 # in parallel build coveralls requires a finish step |
| 317 finish: | 321 finish: |
| 318 needs: test | 322 needs: test |
| 319 runs-on: ubuntu-latest | 323 runs-on: ubuntu-latest |
| 320 | 324 |
