Merge pull request #17 from baryhuang/revert-15-add_macos_keep_eyes_open #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main Branch CI/CD | |
on: | |
push: | |
branches: [ main, master ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install uv | |
uv pip install --system -e . | |
uv pip install --system ".[dev]" pytest pytest-asyncio pyright | |
- name: Static type checking | |
run: pyright src | |
continue-on-error: true | |
- name: Run tests | |
run: | | |
# Explicitly set CI environment variable | |
export CI=true | |
# Run tests with specific flags | |
python -m pytest -v -s | |
continue-on-error: true | |
- name: Build Docker image | |
run: | | |
docker build -t mcp-remote-macos-use:latest . | |
# Add deployment steps here if needed |