Skip to content

Commit ace9489

Browse files
committed
Remove sudo calls in cypress test setup
1 parent 1bdaa36 commit ace9489

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -210,17 +210,17 @@ jobs:
210210
211211
- name: Setup Permissions
212212
run: |
213-
sudo chmod 666 system/user/config/config.php
214-
sudo chmod 777 system/user/config
215-
sudo chmod -R 777 system/user/cache
216-
sudo chmod -R 777 system/user/templates
217-
sudo chmod -R 777 system/user/language
218-
sudo chmod -R 777 system/user/logs
219-
sudo chmod -R 777 tests/cypress/support/tmp
220-
sudo chmod -R 777 tests/cypress/support/file-sync/uploads
221-
sudo chmod -R 777 images
222-
sudo chmod -R 777 themes/user
223-
sudo chmod -R 777 tests/cypress/cypress/screenshots
213+
chmod 666 system/user/config/config.php
214+
chmod 777 system/user/config
215+
chmod -R 777 system/user/cache
216+
chmod -R 777 system/user/templates
217+
chmod -R 777 system/user/language
218+
chmod -R 777 system/user/logs
219+
chmod -R 777 tests/cypress/support/tmp
220+
chmod -R 777 tests/cypress/support/file-sync/uploads
221+
chmod -R 777 images
222+
chmod -R 777 themes/user
223+
chmod -R 777 tests/cypress/cypress/screenshots
224224
225225
- name: Setup PHP
226226
uses: shivammathur/setup-php@v2
@@ -232,7 +232,7 @@ jobs:
232232

233233
- name: Configure MySQL
234234
run: |
235-
sudo systemctl start mysql
235+
systemctl start mysql
236236
mysql -u root -proot -e 'CREATE DATABASE `ee-test`;'
237237
mysql -u root -proot -e 'SET GLOBAL sql_mode="ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION";'
238238

0 commit comments

Comments
 (0)