MCP Goodnews

by VectorInstitute
Verified
name: Unit Testing and Upload Coverage on: push: branches: - main pull_request: types: - opened - synchronize env: NEWS_API_KEY: "mock-news-api-key" COHERE_API_KEY: "mock-cohere-api-key" jobs: test: runs-on: ubuntu-latest steps: - name: get code uses: actions/checkout@v4 - name: Install uv uses: astral-sh/setup-uv@v5 with: # Install a specific version of uv. version: "0.5.21" enable-cache: true - name: "Set up Python" uses: actions/setup-python@v5 with: python-version-file: ".python-version" - name: Install the project run: uv sync --all-extras --dev - name: Run tests run: | uv run make coverage - name: Upload results to Codecov uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} slug: VectorInstitute/mcp-goodnews fail_ci_if_error: true verbose: true