comparison .github/workflows/ci-test.yml @ 7872:163d2c60fdf3

test: benchmark no progress when INCI defined; set path; signal handling The progress reports on issue creation in the db breaks up the table in CI as each is reported on a new line. If the environment variable INCI is set to any value, don't generate progress output. Change GitHub action to define INCI Insert roundup root directory in sys.path so import from test directory will be found. Also set up signal handler to delete the database if ^C is pressed during creation. The interrupted db is incomplete (required data missing), but it is used as is for a subsequent run. This causes the benchmark to crash.
author John Rouillard <rouilj@ieee.org>
date Wed, 10 Apr 2024 12:54:18 -0400
parents 30fcdf60da44
children 3de80157606c
comparison
equal deleted inserted replaced
7871:30fcdf60da44 7872:163d2c60fdf3
313 # -f scripts/Docker/Dockerfile . 313 # -f scripts/Docker/Dockerfile .
314 314
315 315
316 - name: run benchmarks 316 - name: run benchmarks
317 if: "contains(github.event.head_commit.message, 'benchmark')" 317 if: "contains(github.event.head_commit.message, 'benchmark')"
318 run: PYTHONPATH=. python test/benchmark.py 318 run: INCI=1 python test/benchmark.py
319 319
320 # in parallel build coveralls requires a finish step 320 # in parallel build coveralls requires a finish step
321 finish: 321 finish:
322 needs: test 322 needs: test
323 runs-on: ubuntu-latest 323 runs-on: ubuntu-latest

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