Skip to main content
Glama
test.yml1.31 kB
name: Run tests on: push: branches: - main pull_request: workflow_dispatch: release: types: [created] permissions: contents: read jobs: run-tests: runs-on: group: organization/Default steps: - name: Checkout repository uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 cache: npm - name: Install dependencies run: npm ci - name: Run lint run: npm run lint - name: Run format check run: npm run format:check - name: Run unit tests run: npm run test:unit - name: Run integration tests id: integration_tests env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: npm run test:integration continue-on-error: true - name: Rerun integration tests # LLMs are not deterministic, so we need to rerun the tests if they fail # as they may have different answers each time so it decreases # the likelihood of false positives if: ${{ steps.integration_tests.outcome == 'failure' }} env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: npm run test:integration continue-on-error: false

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

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