-
Notifications
You must be signed in to change notification settings - Fork 6
feat(testing): add mcp integration tests #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
0fe8c20
feat: add mcp integration tests
NeethuESim 9945c7e
fix: change copyright year
NeethuESim e4ad808
fix: move mcp docker image to constants.py
NeethuESim 1019729
feat: add github action for integration testing
NeethuESim 60c35d9
doc: update README with integration testing steps
NeethuESim 8f71baa
fix: update docker build command
NeethuESim b5df9b1
fix: change to ubuntu-arm image
NeethuESim 919321d
fix: address PR comments
NeethuESim eb4be5f
fix: github action issues
NeethuESim e0fb8ff
fix: docker build issue
NeethuESim 48a25e5
fix: mca integration test for gh actions
NeethuESim 457d0c7
fix: update assertion for mca tool test case
NeethuESim ae52377
fix: docker build issue
NeethuESim 653010c
test: multi platofrm build
NeethuESim eeeb6eb
fix: revert build changes
NeethuESim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| name: Integration Tests | ||
|
|
||
| on: | ||
| push: | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| integration-tests: | ||
| runs-on: ubuntu-24.04-arm | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
| cache: pip | ||
|
|
||
| - name: Install test dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install -r mcp-local/tests/requirements.txt | ||
|
|
||
| - name: Build MCP Docker image | ||
| run: docker buildx build -f mcp-local/Dockerfile -t arm-mcp . | ||
|
|
||
| - name: Run integration tests | ||
| env: | ||
| MCP_IMAGE: arm-mcp:latest | ||
| run: pytest -v mcp-local/tests/test_mcp.py |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Virtual environments | ||
| venv/ | ||
| .venv/ | ||
| env/ | ||
| .env/ | ||
| embedding-generation/venv/ | ||
| embedding-generation/yaml_data | ||
| embedding-generation/info | ||
|
|
||
| # Python | ||
| __pycache__/ | ||
| *.py[cod] | ||
| *.egg-info/ | ||
| dist/ | ||
| build/ | ||
| .eggs/ | ||
| *.egg | ||
|
|
||
| # IDE | ||
| .idea/ | ||
| .vscode/ | ||
| *.swp | ||
| *.swo | ||
|
|
||
| # OS | ||
| .DS_Store | ||
| Thumbs.db |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.