Skip to content

Commit

Permalink
run squid in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakekaplan committed Dec 11, 2024
1 parent 465dd3a commit 6b4ca08
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ jobs:
./scripts/wait-for-server.py
- name: Setup and start Squid proxy
run: |
sudo apt-get update
sudo apt-get install -y squid
sudo bash -c 'cat > /etc/squid/squid.conf << EOL
http_port 3128
acl SSL_ports port 443 4200
acl Safe_ports port 80 443 4200
acl CONNECT method CONNECT
http_access allow all
EOL'
sudo systemctl start squid
# Verify proxy is running
sleep 2
curl -I --proxy http://localhost:3128 http://127.0.0.1:4200
- name: Start server
if: ${{ matrix.server-version.version == 'main' }}
env:
Expand Down

0 comments on commit 6b4ca08

Please sign in to comment.