Igor commited on
Commit
a50cbca
·
unverified ·
1 Parent(s): bf4cec1

CI: Force 127.0.0.1 for API tests and print installed packages

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yml +3 -2
.github/workflows/ci.yml CHANGED
@@ -22,6 +22,7 @@ jobs:
22
  run: |
23
  python -m pip install --upgrade pip
24
  pip install -r requirements.txt
 
25
 
26
  - name: Run CLI E2E Tests
27
  run: python3 tests/test_e2e.py
@@ -35,8 +36,8 @@ jobs:
35
  # Give it time to boot
36
  sleep 10
37
 
38
- # Run API tests against localhost
39
- export API_URL="http://localhost:7860"
40
  if ! python3 tests/test_api_e2e.py; then
41
  echo "API Test Failed. Server Logs:"
42
  cat server.log
 
22
  run: |
23
  python -m pip install --upgrade pip
24
  pip install -r requirements.txt
25
+ pip freeze
26
 
27
  - name: Run CLI E2E Tests
28
  run: python3 tests/test_e2e.py
 
36
  # Give it time to boot
37
  sleep 10
38
 
39
+ # Run API tests against 127.0.0.1 to avoid IPv6 issues
40
+ export API_URL="http://127.0.0.1:7860"
41
  if ! python3 tests/test_api_e2e.py; then
42
  echo "API Test Failed. Server Logs:"
43
  cat server.log