Replace this template with your information
I’ve set up a CI job that looks like this:
GuiTest:
stage: test
dependencies:
- build
before_script:
- apt-get update && apt-get install python3-pyatspi gnome-icon-theme gsettings-desktop-schemas xvfb -y
script:
- chmod a+x ./tests/gui/test.py
- xvfb-run./tests/gui/test.py
When the job runs I get the error
$ chmod a+x ./tests/gui/test.py
$ xvfb-run ./tests/gui/test.py
/usr/bin/xvfb-run: 184: ./tests/gui/test.py: not found
This looks to me like either the path ./tests/gui/test.py
does not exist (which it does, after all chmod succeeds and ls
validates the existence of test.py) or its permissions don’t exist (which is hard to believe.)
Line 184 of xvfb-run looks like this:
DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1
The job is running in a hosted environment.