GabrielBB / xvfb-action

Run your tests headlessly ❌🖥️
https://github.com/marketplace/actions/gabrielbb-xvfb-action
MIT License
140 stars 20 forks source link

wants sudo and fails #27

Open dk opened 2 years ago

dk commented 2 years ago

Hi

Just tried to test it with github action, got this failure:

Run GabrielBB/xvfb-action@v1 with: /usr/bin/docker exec a16bb0acee94136eedbebf41f26f08e4a56ef6d9cdda5341f0086bdf8571ac4f sh -c "cat /etc/*release | grep ^ID" Error: Unable to locate executable file: sudo. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

MattMcFarland commented 1 year ago

This is an issue for anyone using a container, which is a lot of folks. You should merge the open PR that's been available since Nov 15. Until then, I'll just fork this project and remove every sudo so I can use 👍 Thanks