File tree Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 1- name : Lint
1+ name : Test
22on :
33 push :
44 branches :
77 branches :
88 - " main"
99jobs :
10- build :
10+ test :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v4
14- - name : Set up Python ${{ matrix.python-version }}
15- uses : actions/setup-python@v3
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
1618 with :
17- python-version : ${{ matrix.python-version }}
19+ python-version : " 3.13 "
1820 - name : Install dependencies
1921 run : |
2022 python -m pip install --upgrade pip
2123 python -m pip install -r requirements-dev.txt
22- - name : Test with tox
23- run : |
24- tox run -e lint
24+ - name : Lint
25+ run : make lint
26+ - name : Run tests
27+ run : make test
Original file line number Diff line number Diff line change 1- SUBDIRS := $(filter-out src/dbtools-mcp-server src/mysql-mcp-server src/oci-pricing-mcp-server,$(wildcard src/* ) )
1+ SUBDIRS := $(filter-out src/dbtools-mcp-server src/mysql-mcp-server src/oci-pricing-mcp-server src/oracle-db-doc-mcp-server ,$(wildcard src/* ) )
22
33.PHONY : test format
44
@@ -42,12 +42,14 @@ lock:
4242 fi \
4343 done
4444
45- test :
45+ lint :
4646 uv tool run --from ' tox==4.30.2' tox -e lint
47+
48+ test :
4749 @for dir in $(SUBDIRS ) ; do \
4850 if [ -f $$ dir/pyproject.toml ]; then \
4951 echo " Testing $$ dir" ; \
50- cd $$ dir && uv run pytest && cd ../..; \
52+ cd $$ dir && uv sync && uv run pytest && cd ../..; \
5153 fi \
5254 done
5355
You can’t perform that action at this time.
0 commit comments