Skip to content

Commit 4c87e38

Browse files
committed
Force a proper environment here
1 parent 457b0c3 commit 4c87e38

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,12 @@ jobs:
7373
sudo apt remove bpfcc-tools
7474
zsh --version
7575
76-
- name: Run tests against all shells on alpine
76+
- name: Run zsh tests with proper terminal setup
7777
run: |
78-
make test_zsh
78+
echo 'export PS1="$ "' > ~/.zshrc
79+
echo 'export TERM=xterm' >> ~/.zshrc
80+
echo 'stty -echo' >> ~/.zshrc
81+
sudo make test_zsh
7982
shell: bash
8083

8184
test-alpine:
@@ -124,4 +127,4 @@ jobs:
124127
uname -a
125128
compgen -ac | sort | grep '^ex'
126129
127-
- run: TEST_TARGET=test_bash RUNS=25 make test_flakiness
130+
- run: TEST_TARGET=test_bash RUNS=25 make test_flakiness

0 commit comments

Comments
 (0)