Improve tool handling (#28)
* Improve tool handling * Rework stuff with new hosting options * Update readme * Fix build * Try run client tests * Fix build * Fix issues on linux * Try to run testserver on linux * Fix test issue * Fix code smells
This commit is contained in:
parent
7d69499ad5
commit
ec9bdfcf5d
1 changed files with 1036 additions and 235 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
|
@ -3,10 +3,8 @@ name: .NET Build, Test and publish
|
|||
on:
|
||||
push:
|
||||
branches: [ "main", "master" ]
|
||||
paths: [ 'src/**' ]
|
||||
pull_request:
|
||||
branches: [ "main", "master" ]
|
||||
paths: [ 'src/**' ]
|
||||
release:
|
||||
types: [published,edited]
|
||||
|
||||
|
|
@ -24,7 +22,12 @@ jobs:
|
|||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
|
||||
- name: Fetch all history for all tags and branches
|
||||
run: git fetch --prune --unshallow
|
||||
run: |
|
||||
if [ -f "$(git rev-parse --git-dir)/shallow" ]; then
|
||||
git fetch --prune --unshallow
|
||||
else
|
||||
echo "Repository is already complete."
|
||||
fi
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v2
|
||||
|
|
@ -33,6 +36,17 @@ jobs:
|
|||
8.0.x
|
||||
9.0.x
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Install dependencies for tests
|
||||
run: npm install @modelcontextprotocol/server-everything
|
||||
|
||||
- name: Install dependencies for tests
|
||||
run: npm install @modelcontextprotocol/server-memory
|
||||
|
||||
- name: Run Cake script
|
||||
uses: cake-build/cake-action@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue