Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e7b5f44
Add Docker site environments and integration tests
Am1n3e Feb 2, 2026
129bf86
Reorganize dev tasks and clean up structure
Am1n3e Feb 2, 2026
00d9f96
Update environment Docker documentation
Am1n3e Feb 2, 2026
0c11767
Simplify invoke task names by removing redundant prefixes
Am1n3e Feb 2, 2026
d2e9a5c
Add per-environment documentation files
Am1n3e Feb 2, 2026
3555a38
Add CI tasks and reorganize dev README files
Am1n3e Feb 2, 2026
ff3ad88
Reorder Quick Start to prioritize uvx over Docker and pip
Am1n3e Feb 2, 2026
a30bbd7
Update README and disable Docker sites workflow
Am1n3e Feb 2, 2026
4e4b209
Add CI test data support for Wikipedia and Map sites
Am1n3e Feb 2, 2026
d7796e1
Add container management and setup CLI commands
Am1n3e Feb 2, 2026
325f20c
Refactor container management based on PR review
Am1n3e Feb 2, 2026
9240750
Split backend into folder with one file per class
Am1n3e Feb 2, 2026
5441845
Remove __all__ from non-__init__ files
Am1n3e Feb 2, 2026
b509410
Remove patches directory and related infrastructure
Am1n3e Feb 2, 2026
4fd9473
Remove Gatus monitoring service
Am1n3e Feb 2, 2026
77f61a6
Add CI workflows for shopping, shopping_admin, and reddit
Am1n3e Feb 2, 2026
f5f1d38
Address PR review comments and enable GitLab CI
Am1n3e Feb 2, 2026
dba1b0e
Refactor container startup: simplify wait logic and fix config duplic…
Am1n3e Feb 2, 2026
b26fd96
Update README with CLI commands for environment management
Am1n3e Feb 2, 2026
b345560
Update environment docs with CLI commands
Am1n3e Feb 2, 2026
15e4da7
Updated entrypoint
Am1n3e Feb 2, 2026
ed26ee7
Mark Map site as beta in announcement
Am1n3e Feb 2, 2026
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
43 changes: 43 additions & 0 deletions .github/workflows/test-docker-gitlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test Docker GitLab

on:
pull_request:
branches: [main]
paths:
- "dev/environments/docker/sites/gitlab/**"
- "tests/integration/environments/gitlab/**"
- "tests/integration/environments/conftest.py"
push:
branches: [main]
paths:
- "dev/environments/docker/sites/gitlab/**"
- "tests/integration/environments/gitlab/**"
- "tests/integration/environments/conftest.py"

jobs:
test:
name: Test gitlab
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Set up Python
run: uv python install 3.11

- name: Install dependencies
run: uv sync --all-extras

- name: Install Playwright browsers
run: uv run playwright install chromium --with-deps

- name: Build Docker image
run: uv run invoke envs.docker.build --site=gitlab --tag=test

- name: Run integration tests
run: uv run invoke envs.docker.test --site=gitlab --tag=test
54 changes: 54 additions & 0 deletions .github/workflows/test-docker-map.yml.disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Test Docker Map

on:
pull_request:
branches: [main]
paths:
- "dev/environments/docker/sites/map/**"
- "tests/integration/environments/map/**"
- "tests/integration/environments/conftest.py"
push:
branches: [main]
paths:
- "dev/environments/docker/sites/map/**"
- "tests/integration/environments/map/**"
- "tests/integration/environments/conftest.py"

jobs:
test:
name: Test map
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Set up Python
run: uv python install 3.11

- name: Install dependencies
run: uv sync --all-extras

- name: Install Playwright browsers
run: uv run playwright install chromium --with-deps

- name: Restore map test data cache
id: map-data-cache
uses: actions/cache@v4
with:
path: data/map
key: map-monaco-data-v1

- name: Generate map test data
if: steps.map-data-cache.outputs.cache-hit != 'true'
run: uv run invoke dev.ci.generate-map-data

- name: Build Docker image
run: uv run invoke envs.docker.build --site=map --tag=test

- name: Run integration tests
run: uv run invoke envs.docker.test --site=map --tag=test --data-dir=data/map
43 changes: 43 additions & 0 deletions .github/workflows/test-docker-reddit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test Docker Reddit

on:
pull_request:
branches: [main]
paths:
- "dev/environments/docker/sites/reddit/**"
- "tests/integration/environments/reddit/**"
- "tests/integration/environments/conftest.py"
push:
branches: [main]
paths:
- "dev/environments/docker/sites/reddit/**"
- "tests/integration/environments/reddit/**"
- "tests/integration/environments/conftest.py"

jobs:
test:
name: Test reddit
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Set up Python
run: uv python install 3.11

- name: Install dependencies
run: uv sync --all-extras

- name: Install Playwright browsers
run: uv run playwright install chromium --with-deps

- name: Build Docker image
run: uv run invoke envs.docker.build --site=reddit --tag=test

- name: Run integration tests
run: uv run invoke envs.docker.test --site=reddit --tag=test
43 changes: 43 additions & 0 deletions .github/workflows/test-docker-shopping-admin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test Docker Shopping Admin

on:
pull_request:
branches: [main]
paths:
- "dev/environments/docker/sites/shopping_admin/**"
- "tests/integration/environments/shopping_admin/**"
- "tests/integration/environments/conftest.py"
push:
branches: [main]
paths:
- "dev/environments/docker/sites/shopping_admin/**"
- "tests/integration/environments/shopping_admin/**"
- "tests/integration/environments/conftest.py"

jobs:
test:
name: Test shopping_admin
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Set up Python
run: uv python install 3.11

- name: Install dependencies
run: uv sync --all-extras

- name: Install Playwright browsers
run: uv run playwright install chromium --with-deps

- name: Build Docker image
run: uv run invoke envs.docker.build --site=shopping_admin --tag=test

- name: Run integration tests
run: uv run invoke envs.docker.test --site=shopping_admin --tag=test
43 changes: 43 additions & 0 deletions .github/workflows/test-docker-shopping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test Docker Shopping

on:
pull_request:
branches: [main]
paths:
- "dev/environments/docker/sites/shopping/**"
- "tests/integration/environments/shopping/**"
- "tests/integration/environments/conftest.py"
push:
branches: [main]
paths:
- "dev/environments/docker/sites/shopping/**"
- "tests/integration/environments/shopping/**"
- "tests/integration/environments/conftest.py"

jobs:
test:
name: Test shopping
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Set up Python
run: uv python install 3.11

- name: Install dependencies
run: uv sync --all-extras

- name: Install Playwright browsers
run: uv run playwright install chromium --with-deps

- name: Build Docker image
run: uv run invoke envs.docker.build --site=shopping --tag=test

- name: Run integration tests
run: uv run invoke envs.docker.test --site=shopping --tag=test
46 changes: 46 additions & 0 deletions .github/workflows/test-docker-wikipedia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Test Docker Wikipedia

on:
pull_request:
branches: [main]
paths:
- "dev/environments/docker/sites/wikipedia/**"
- "tests/integration/environments/wikipedia/**"
- "tests/integration/environments/conftest.py"
push:
branches: [main]
paths:
- "dev/environments/docker/sites/wikipedia/**"
- "tests/integration/environments/wikipedia/**"
- "tests/integration/environments/conftest.py"

jobs:
test:
name: Test wikipedia
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Set up Python
run: uv python install 3.11

- name: Install dependencies
run: uv sync --all-extras

- name: Install Playwright browsers
run: uv run playwright install chromium --with-deps

- name: Download CI ZIM
run: uv run invoke dev.ci.setup-wikipedia

- name: Build Docker image
run: uv run invoke envs.docker.build --site=wikipedia --tag=test

- name: Run integration tests
run: uv run invoke envs.docker.test --site=wikipedia --tag=test --data-dir=data/wikipedia
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: docker build -t webarena-verified:test .

- name: Run tests
run: uv run pytest --webarena-verified-docker-img webarena-verified:test --ignore=tests/integration/environment_control/
run: uv run pytest --webarena-verified-docker-img webarena-verified:test --ignore=tests/integration/environment_control/ --ignore=tests/integration/environments/
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,5 @@ demo_config.json
tmp/
eval_log.txt

# Generated Gatus config
dev/environments/docker/monitoring/gatus/config.yaml
# CI test data (downloaded/generated by inv dev.ci.* tasks)
data/
Loading
Loading