Skip to content

Commit b032058

Browse files
committed
can this work w/o sudo
1 parent cd1a41e commit b032058

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,15 @@ jobs:
7373
sudo apt remove bpfcc-tools
7474
zsh --version
7575
76-
- name: Run tests against all shells on alpine
76+
- name: Pre-clean zsh config with sudo
77+
run: |
78+
sudo rm -rf /etc/zsh /etc/zshenv /etc/zprofile /etc/zshrc /etc/zlogin || true
79+
sudo rm -rf ~/.zshenv ~/.zprofile ~/.zshrc ~/.zlogin || true
80+
shell: bash
81+
82+
- name: Run zsh tests without sudo
7783
run: |
78-
script -q -c "sudo make test_zsh"
84+
make test_zsh
7985
shell: bash
8086

8187
test-alpine:

0 commit comments

Comments
 (0)