feat: add MCP server #232
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10", "3.11"] | |
name: Python ${{ matrix.python-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
- name: Install @devcontainers/cli | |
run: npm install --location=global @devcontainers/[email protected] | |
- name: Start Dev Container | |
run: | | |
git config --global init.defaultBranch main | |
PYTHON_VERSION=${{ matrix.python-version }} OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} devcontainer up --workspace-folder . | |
- name: Lint package | |
run: devcontainer exec --workspace-folder . poe lint | |
- name: Test package | |
run: devcontainer exec --workspace-folder . poe test | |
- name: Upload coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
files: reports/coverage.xml |