Skip to content

ci(deps): bump actions/setup-python from 5 to 6 #41

ci(deps): bump actions/setup-python from 5 to 6

ci(deps): bump actions/setup-python from 5 to 6 #41

Workflow file for this run

name: Docker MCP Tests
on:
push:
branches:
- main
paths:
- 'docker/**'
- '.github/workflows/docker_mcp.yml'
pull_request:
branches:
- main
paths:
- 'docker/**'
- '.github/workflows/docker_mcp.yml'
workflow_dispatch:
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest requests sseclient-py python-dotenv
if [ -f docker/requirements.txt ]; then pip install -r docker/requirements.txt; fi
- name: Run unit tests
run: |
cd docker
python -m pytest -v -m "not integration"
env:
WEBCAT_API_KEY: test_key_for_ci # pragma: allowlist secret
SERPER_API_KEY: ${{ secrets.SERPER_API_KEY }}
- name: Run integration tests (if server available)
run: |
cd docker
# Try to run integration tests, but don't fail the build if server isn't available
python -m pytest -v -m "integration" || echo "Integration tests skipped - no running server"
env:
WEBCAT_API_KEY: test_key_for_ci # pragma: allowlist secret
SERPER_API_KEY: ${{ secrets.SERPER_API_KEY }}