From c2d22e6072c2aa7094a49fb96d659daa3892d120 Mon Sep 17 00:00:00 2001 From: sleefd Date: Wed, 18 Dec 2024 11:36:03 +0800 Subject: [PATCH] add github ci --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..42c3e49 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v4 + with: + enable-cache: true + cache-dependency-blob: "uv.lock" + + - name: Set up Python + run: uv python install + + - name: Build & Install the package + run: | + uv pip install -e . diff --git a/README.md b/README.md index c1589f1..a5ebdad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Zendesk MCP Server +![ci](https://github.com/reminia/zendesk-mcp-server/actions/workflows/ci.yml/badge.svg) + A Model Context Protocol server for Zendesk. This server provides a comprehensive integration with Zendesk. It offers: