Skip to content

Commit

Permalink
Attempt to fix xvfb-run flake. (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcipriano authored Nov 22, 2019
1 parent 56fb2e6 commit 8973a25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/python_coverage_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ python -m grpc_tools.protoc -I=proto/ --python_out=rqd/rqd/compiled_proto --grpc
coverage run --source=pycue/opencue/,pycue/FileSequence/ --omit=pycue/opencue/compiled_proto/* pycue/setup.py test
PYTHONPATH=pycue coverage run -a --source=pyoutline/outline/ pyoutline/setup.py test
PYTHONPATH=pycue coverage run -a --source=cueadmin/cueadmin/ cueadmin/setup.py test
PYTHONPATH=pycue xvfb-run coverage run -a --source=cuegui/cuegui/ cuegui/setup.py test
PYTHONPATH=pycue xvfb-run -d coverage run -a --source=cuegui/cuegui/ cuegui/setup.py test
PYTHONPATH=pycue:pyoutline coverage run -a --source=cuesubmit/cuesubmit/ cuesubmit/setup.py test
coverage run -a --source=rqd/rqd/ --omit=rqd/rqd/compiled_proto/* rqd/setup.py test

Expand Down
2 changes: 1 addition & 1 deletion ci/run_python_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ python -m grpc_tools.protoc -I=proto/ --python_out=rqd/rqd/compiled_proto --grpc
python pycue/setup.py test
PYTHONPATH=pycue python pyoutline/setup.py test
PYTHONPATH=pycue python cueadmin/setup.py test
PYTHONPATH=pycue xvfb-run python cuegui/setup.py test
PYTHONPATH=pycue xvfb-run -d python cuegui/setup.py test
PYTHONPATH=pycue:pyoutline python cuesubmit/setup.py test
python rqd/setup.py test
4 changes: 2 additions & 2 deletions cuegui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ RUN cd pycue && python3.6 setup.py install

# TODO(bcipriano) Lint the code here. (Issue #78)

RUN cd cuegui && xvfb-run python setup.py test
RUN cd cuegui && xvfb-run -d python setup.py test

RUN cd cuegui && xvfb-run python3.6 setup.py test
RUN cd cuegui && xvfb-run -d python3.6 setup.py test

RUN cp LICENSE requirements.txt VERSION cuegui/

Expand Down

0 comments on commit 8973a25

Please sign in to comment.