Skip to content

Commit

Permalink
feat(tools): upd CI (72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeriyBushenev committed Sep 25, 2024
1 parent 9ba0161 commit 2bc7dfe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,14 @@ jobs:
Xvfb :99 -screen 0 1024x768x24 &
export DISPLAY=:99
- name: Create user for Firefox
- name: Create user and configure sudo without password
run: |
sudo useradd -m testuser
echo 'testuser ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/testuser
sudo chown -R testuser:testuser /github/home
- name: Install and run Firefox
run: |
sudo -u testuser sudo apt-get install -y firefox
sudo -u testuser firefox --version
Expand Down

0 comments on commit 2bc7dfe

Please sign in to comment.