Skip to content

Commit

Permalink
Merge pull request #836 from WordPress/feature/ghactions-move-debug-s…
Browse files Browse the repository at this point in the history
…teps-earlier
  • Loading branch information
schlessera committed Nov 8, 2023
1 parent ea890b3 commit 61e53a0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/quicktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,22 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'

- name: Setup proxy server
run: pip3 install mitmproxy

- name: Check mitmproxy version
run: mitmdump --version

- name: Start test server
run: |
PORT=8080 vendor/bin/start.sh
echo "REQUESTS_TEST_HOST_HTTP=localhost:8080" >> $GITHUB_ENV
- name: Ping localhost domain
run: ping -c1 localhost

- name: Start proxy server
run: |
PORT=9002 tests/utils/proxy/start.sh
Expand All @@ -75,12 +81,6 @@ jobs:
- name: Ensure the HTTPS test instance on Render is spun up
run: curl -s -I https://requests-test-server.onrender.com/ > /dev/null

- name: Check mitmproxy version
run: mitmdump --version

- name: Ping localhost domain
run: ping -c1 localhost

- name: Access localhost on port 8080
run: curl -i http://localhost:8080

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,22 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'

- name: Setup proxy server
run: pip3 install mitmproxy

- name: Check mitmproxy version
run: mitmdump --version

- name: Start test server
run: |
PORT=8080 vendor/bin/start.sh
echo "REQUESTS_TEST_HOST_HTTP=localhost:8080" >> $GITHUB_ENV
- name: Ping localhost domain
run: ping -c1 localhost

- name: Start proxy server
run: |
PORT=9002 tests/utils/proxy/start.sh
Expand All @@ -89,12 +95,6 @@ jobs:
- name: Ensure the HTTPS test instance on Render is spun up
run: curl -s -I https://requests-test-server.onrender.com/ > /dev/null

- name: Check mitmproxy version
run: mitmdump --version

- name: Ping localhost domain
run: ping -c1 localhost

- name: Access localhost on port 8080
run: curl -i http://localhost:8080

Expand Down

0 comments on commit 61e53a0

Please sign in to comment.