Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Matrix Build
name: Build and Test
on:
push:
branches:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ on:
branches:
- "main"
jobs:
build:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.13
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SUBDIRS := $(filter-out src/dbtools-mcp-server src/mysql-mcp-server src/oci-pricing-mcp-server,$(wildcard src/*))
SUBDIRS := $(filter-out src/dbtools-mcp-server src/mysql-mcp-server src/oci-pricing-mcp-server src/oracle-db-doc-mcp-server,$(wildcard src/*))

.PHONY: test format

Expand Down Expand Up @@ -42,12 +42,14 @@ lock:
fi \
done

test:
lint:
uv tool run --from 'tox==4.30.2' tox -e lint

test:
@for dir in $(SUBDIRS); do \
if [ -f $$dir/pyproject.toml ]; then \
echo "Testing $$dir"; \
cd $$dir && uv run pytest && cd ../..; \
cd $$dir && uv sync && uv run pytest && cd ../..; \
fi \
done

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@ npx @modelcontextprotocol/inspector \
Inspector will run your server on localhost (for instance: http://127.0.0.1:6274) which should automatically open the
tool for debugging and development.

### Running tests

```bash
make lint
make test
```

## Contributing

Expand Down