Skip to content

Commit

Permalink
Use ubuntu-22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
imanish003 committed Dec 23, 2024
1 parent 4d2fa43 commit c5f9776
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ jobs:
npm run wp-env start
npm run wp-env run tests-cli wp theme activate storefront
- name: Configure AppArmor for Chrome
run: |
sudo echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
# Add these additional configurations
sudo apt-get update
sudo apt-get install -y chromium-browser
sudo sysctl -w kernel.unprivileged_userns_clone=1
sudo chmod -R 777 /dev/shm
- name: Running the tests
run: |
npm run test:e2e
Expand Down

0 comments on commit c5f9776

Please sign in to comment.