Skip to main content
Glama
ci.yml1.6 kB
name: CI on: push: branches: [ "main" ] workflow_dispatch: {} concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false jobs: test: name: Run tests runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.12" cache: "pip" - name: Install dependencies timeout-minutes: 10 run: | python -m pip install --upgrade pip pip install -e . pip install pytest pytest-cov - name: Run pytest with coverage env: PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1" run: pytest -q -p pytest_cov - name: Upload coverage artifacts if: always() uses: actions/upload-artifact@v4 with: name: coverage path: | htmlcov coverage.xml publish: name: Build and publish to PyPI needs: test runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' steps: - name: Checkout uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.12" - name: Build package run: | python -m pip install --upgrade pip pip install build python -m build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} skip-existing: 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/connectaman/Pitchlense-mcp'

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