mirror of
https://github.com/pretix/pretix.git
synced 2026-08-29 13:44:40 +00:00
disable reruns
This commit is contained in:
@@ -65,7 +65,7 @@ jobs:
|
|||||||
run: make all compress
|
run: make all compress
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
run: PRETIX_CONFIG_FILE=tests/travis_${{ matrix.database }}.cfg py.test -n 3 -p no:sugar --cov=./ --cov-report=xml --reruns 3 tests --maxfail=100 || true
|
run: PRETIX_CONFIG_FILE=tests/travis_${{ matrix.database }}.cfg py.test -n 3 -p no:sugar --cov=./ --cov-report=xml --reruns 0 tests --maxfail=100 || true
|
||||||
|
|
||||||
# XXXXXXXXXXXXXX for test only
|
# XXXXXXXXXXXXXX for test only
|
||||||
- name: print debug output
|
- name: print debug output
|
||||||
|
|||||||
@@ -139,11 +139,11 @@ if os.environ.get("GITHUB_WORKFLOW", ""):
|
|||||||
|
|
||||||
# Check if the test even has DB access
|
# Check if the test even has DB access
|
||||||
marker = request.node.get_closest_marker("django_db")
|
marker = request.node.get_closest_marker("django_db")
|
||||||
f.write(str(time.time())+"\t"+ str(worker_id)+"\t"+str(request.path)+"\t"+ str(request.module)+"\t"+ str(request.function)+"\tstart\n")
|
f.write(str(time.time())+"\t"+ str(worker_id)+"\t"+str(request.path)+"\t"+ str(request.module.__name__)+"\t"+ str(request.function.__name__)+"\tstart\n")
|
||||||
f.flush()
|
f.flush()
|
||||||
# Run actual test
|
# Run actual test
|
||||||
yield
|
yield
|
||||||
f.write(str(time.time())+"\t"+ str(worker_id)+"\t"+str(request.path)+"\t"+ str(request.module)+"\t"+ str(request.function)+"\tend\n")
|
f.write(str(time.time())+"\t"+ str(worker_id)+"\t"+str(request.path)+"\t"+ str(request.module.__name__)+"\t"+ str(request.function.__name__)+"\tend\n")
|
||||||
f.flush()
|
f.flush()
|
||||||
# If yes, do a dummy query at the end of the test
|
# If yes, do a dummy query at the end of the test
|
||||||
#if marker:
|
#if marker:
|
||||||
|
|||||||
Reference in New Issue
Block a user