docs: add Rosetta Research Agent avatar for Agentalent.ai listing #7
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: CI | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Test & Lint (Python ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --extra dev | |
| - name: Lint with ruff | |
| run: uv run ruff check src/ tests/ | |
| - name: Type check (ruff format check) | |
| run: uv run ruff format --check src/ tests/ | |
| - name: Run tests | |
| env: | |
| # Unit tests run without real API keys — mocked via pytest fixtures | |
| GROQ_API_KEY: "test-key-placeholder" | |
| ENABLE_IPFS: "false" | |
| ENABLE_ONCHAIN: "false" | |
| run: uv run pytest -v --tb=short tests/ | |
| docker: | |
| name: Docker Build Check | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: docker build -t rosetta-research-agent:ci . | |
| - name: Smoke test container health | |
| run: | | |
| docker run -d --name rra-ci \ | |
| -e GROQ_API_KEY=test-key-placeholder \ | |
| -e ENABLE_IPFS=false \ | |
| -e ENABLE_ONCHAIN=false \ | |
| -p 8000:8000 \ | |
| rosetta-research-agent:ci | |
| sleep 8 | |
| curl --fail --retry 5 --retry-delay 2 http://localhost:8000/health | |
| docker stop rra-ci |