Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
primary-python:
required: true
type: string
secrets:
TEST_PROXY_URL:
required: false
CODECOV_TOKEN:
required: false

jobs:
test:
Expand Down Expand Up @@ -223,7 +228,12 @@ jobs:
run: ruff check src/ tests/

- name: Run tests
run: pytest tests/ -v --cov=httpmorph --cov-report=xml
run: |
# Skip proxy tests in CI to avoid external dependencies
# To run proxy tests locally: pytest tests/ -m "proxy"
pytest tests/ -v --cov=httpmorph --cov-report=xml -m "not proxy"
env:
TEST_PROXY_URL: ${{ secrets.TEST_PROXY_URL }}

- name: Upload coverage
if: matrix.os == inputs.primary-os && matrix.python-version == inputs.primary-python
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
python-matrix: ${{ needs.load-config.outputs.python-matrix }}
primary-os: ${{ needs.load-config.outputs.primary-os }}
primary-python: ${{ needs.load-config.outputs.primary-python }}
secrets:
TEST_PROXY_URL: ${{ secrets.TEST_PROXY_URL }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

# ============================================================
# Summary
Expand Down
9 changes: 2 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dmypy.json

# Documentation
docs/_build/
docs/build/

# Virtual environments
venv/
Expand All @@ -62,13 +63,7 @@ uv.lock
# Vendor dependencies (downloaded by scripts/setup_vendors.sh)
vendor/

# Benchmarks
benchmarks/results/
*.prof

# Environment variables
.env
examples/.env

# Planning documents (internal)
plan/
.plan/
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# Install Python dependencies required to build your docs
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
Loading
Loading