Skip to main content
Glama
ci.yml1.53 kB
name: CI/CD on: push: branches: [main] tags: ['v*'] pull_request: branches: [main] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v4 - run: uv sync - name: Run tests with coverage run: uv run pytest --cov=src --cov-report=term-missing --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 if: github.ref == 'refs/heads/main' with: files: coverage.xml fail_ci_if_error: false build: needs: test if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v4 - run: uv build - uses: actions/upload-artifact@v4 with: name: dist path: dist/ publish: needs: build if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest environment: pypi permissions: id-token: write steps: - uses: actions/download-artifact@v4 with: name: dist path: dist/ - name: Publish to PyPI (Trusted Publishing) uses: pypa/gh-action-pypi-publish@release/v1 continue-on-error: true id: oidc - name: Publish to PyPI (Token fallback) if: steps.oidc.outcome == 'failure' uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_TOKEN }}

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/JaviMaligno/mcp-server-bitbucket'

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