Skip to content

Commit 8382ce9

Browse files
authored
Merge pull request #928 from WordPress/feature/move-shell-scripts
2 parents af42dde + 6cccb18 commit 8382ce9

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

.github/CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ PORT=8080 vendor/bin/start.sh
115115
export "REQUESTS_TEST_HOST_HTTP=localhost:8080"
116116

117117
# Start the proxy server
118-
PORT=9002 tests/utils/proxy/start.sh
119-
PORT=9003 AUTH="test:pass" tests/utils/proxy/start.sh
118+
PORT=9002 scripts/proxy/start.sh
119+
PORT=9003 AUTH="test:pass" scripts/proxy/start.sh
120120
export "REQUESTS_HTTP_PROXY=localhost:9002"
121121
export "REQUESTS_HTTP_PROXY_AUTH=localhost:9003"
122122
export "REQUESTS_HTTP_PROXY_AUTH_USER=test"
@@ -126,8 +126,8 @@ export "REQUESTS_HTTP_PROXY_AUTH_PASS=pass"
126126
composer test
127127

128128
# Stop the proxy server
129-
PORT=9002 tests/utils/proxy/stop.sh
130-
PORT=9003 tests/utils/proxy/stop.sh
129+
PORT=9002 scripts/proxy/stop.sh
130+
PORT=9003 scripts/proxy/stop.sh
131131

132132
# Stop the test server
133133
vendor/bin/stop.sh

.github/workflows/quicktest.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474

7575
- name: Start proxy server
7676
run: |
77-
PORT=9002 tests/utils/proxy/start.sh
78-
PORT=9003 AUTH="test:pass" tests/utils/proxy/start.sh
77+
PORT=9002 scripts/proxy/start.sh
78+
PORT=9003 AUTH="test:pass" scripts/proxy/start.sh
7979
echo "REQUESTS_HTTP_PROXY=localhost:9002" >> "$GITHUB_ENV"
8080
echo "REQUESTS_HTTP_PROXY_AUTH=localhost:9003" >> "$GITHUB_ENV"
8181
echo "REQUESTS_HTTP_PROXY_AUTH_USER=test" >> "$GITHUB_ENV"
@@ -105,8 +105,8 @@ jobs:
105105
- name: Stop proxy server
106106
continue-on-error: true
107107
run: |
108-
PORT=9002 tests/utils/proxy/stop.sh
109-
PORT=9003 tests/utils/proxy/stop.sh
108+
PORT=9002 scripts/stop.sh
109+
PORT=9003 scripts/stop.sh
110110
111111
- name: Stop test server
112112
continue-on-error: true

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ jobs:
9898

9999
- name: Start proxy server
100100
run: |
101-
PORT=9002 tests/utils/proxy/start.sh
102-
PORT=9003 AUTH="test:pass" tests/utils/proxy/start.sh
101+
PORT=9002 scripts/proxy/start.sh
102+
PORT=9003 AUTH="test:pass" scripts/proxy/start.sh
103103
echo "REQUESTS_HTTP_PROXY=localhost:9002" >> "$GITHUB_ENV"
104104
echo "REQUESTS_HTTP_PROXY_AUTH=localhost:9003" >> "$GITHUB_ENV"
105105
echo "REQUESTS_HTTP_PROXY_AUTH_USER=test" >> "$GITHUB_ENV"
@@ -137,8 +137,8 @@ jobs:
137137
- name: Stop proxy server
138138
continue-on-error: true
139139
run: |
140-
PORT=9002 tests/utils/proxy/stop.sh
141-
PORT=9003 tests/utils/proxy/stop.sh
140+
PORT=9002 scripts/proxy/stop.sh
141+
PORT=9003 scripts/proxy/stop.sh
142142
143143
- name: Stop test server
144144
continue-on-error: true

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ build/ghpages/artifacts
2525
certificates/etag-*.txt
2626

2727
# Ignore temporary files generated by the testing proxy.
28-
tests/utils/proxy/__pycache__
29-
tests/utils/proxy/*.pid
28+
scripts/proxy/__pycache__
29+
scripts/proxy/*.pid
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)