Skip to content

Commit 9ccd845

Browse files
committed
Enable SSH debugging
1 parent ce3b6b0 commit 9ccd845

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,23 +95,26 @@ jobs:
9595
run: |
9696
php -S localhost:8002 -t $(pwd) > /dev/null 2> /tmp/webserver_output.txt &
9797
98-
# - name: Setup upterm session
99-
# uses: lhotari/action-upterm@v1
100-
10198
- name: Setup Nginx
10299
run: |
103100
sudo chmod o+w /etc/nginx/sites-available/default
104101
sudo cat tests/nginx_vhost_config > /etc/nginx/sites-available/default
105102
sudo systemctl restart nginx.service
106-
echo -n "----"
107-
wget http://localhost:8002/tests/debug_response.php
103+
echo -n "\n----\n"
104+
curl http://localhost:8002/tests/debug_response.php
108105
cat debug_response.php
109-
echo -n "----"
110-
wget https://localhost/tests/debug_response.php
106+
echo -n "\n----\n"
107+
curl https://localhost/tests/debug_response.php
111108
cat debug_response.php.1
112-
echo -n "----"
109+
echo -n "\n----\n"
110+
curl --http1.0 https://localhost/tests/debug_response.php
111+
cat debug_response.php.2
112+
echo -n "\n----\n"
113113
cat /var/log/nginx/error.log
114-
echo -n "----"
114+
echo -n "\n----\n"
115+
116+
- name: Setup upterm session
117+
uses: lhotari/action-upterm@v1
115118

116119
- name: Wait for browser & PHP to start
117120
run: |

0 commit comments

Comments
 (0)