Skip to main content
Glama
test.yml1.26 kB
name: Test on: workflow_dispatch: push: branches: [main] paths: - '**.py' - 'pyproject.toml' - 'uv.lock' - 'test.yml' jobs: test: runs-on: ubuntu-latest env: UV_CACHE_DIR: /tmp/.uv-cache MISE_PYTHON_UV_VENV_AUTO: false steps: - uses: actions/checkout@v5 - name: uv cache uses: actions/cache@v4 if: hashFiles('uv.lock') != '' with: path: /tmp/.uv-cache key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }} restore-keys: | uv-${{ runner.os }}-${{ hashFiles('uv.lock') }} uv-${{ runner.os }} - uses: jdx/mise-action@v3 with: experimental: true - name: Install dependencies run: uv sync --group dev - name: pytest run: uv run pytest --cov=src --cov-report=xml -m "not integration" - name: Upload coverage to Codacy uses: codacy/codacy-coverage-reporter-action@v1.3.0 with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} coverage-reports: coverage.xml - name: Minimize uv cache if: hashFiles('uv.lock') != '' && success() run: command -v uv &>/dev/null && uv cache prune --ci || true

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yshalsager/mcp-4get'

If you have feedback or need assistance with the MCP directory API, please join our Discord server