Skip to content

Commit 41dd649

Browse files
committed
Test using SSL server
1 parent 34a71d5 commit 41dd649

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

.github/workflows/tests.yml

+10-18
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# phpunit_config: 'phpunit10.xml.dist' # PHPUnit 10.5
4444
fail-fast: false
4545
env:
46-
REPO_URL: http://localhost:8002/
46+
REPO_URL: https://localhost/
4747

4848
steps:
4949
- name: Checkout
@@ -60,15 +60,15 @@ jobs:
6060
# PHP 7.1 development web server segfaults if timezone not set.
6161
ini-values: date.timezone=Europe/Paris, error_reporting=-1, display_errors=On
6262

63-
# - name: Configure for PHP >= 7.1
64-
# if: "${{ matrix.php >= '7.1' }}"
65-
# run: |
66-
# composer require --no-update --dev symfony/error-handler "^4.4 || ^5.0"
67-
#
68-
# - name: Install dependencies
69-
# uses: "ramsey/composer-install@v3"
70-
# with:
71-
# dependency-versions: "highest"
63+
- name: Configure for PHP >= 7.1
64+
if: "${{ matrix.php >= '7.1' }}"
65+
run: |
66+
composer require --no-update --dev symfony/error-handler "^4.4 || ^5.0"
67+
68+
- name: Install dependencies
69+
uses: "ramsey/composer-install@v3"
70+
with:
71+
dependency-versions: "highest"
7272

7373
- name: Create a temporary folder
7474
run: |
@@ -98,14 +98,6 @@ jobs:
9898
sudo chmod o+w /etc/nginx/sites-available/default
9999
sudo cat tests/nginx_vhost_config > /etc/nginx/sites-available/default
100100
sudo systemctl restart nginx.service
101-
echo -n "\n----\n"
102-
curl http://localhost:8002/tests/debug_response.php
103-
echo -n "\n----\n"
104-
curl https://localhost/tests/debug_response.php
105-
echo -n "\n----\n"
106-
curl --http1.0 https://localhost/tests/debug_response.php
107-
echo -n "\n----\n"
108-
ls -la
109101
110102
- name: Setup upterm session
111103
uses: lhotari/action-upterm@v1

0 commit comments

Comments
 (0)