Skip to content

Commit 12b1005

Browse files
authored
Merge pull request #5 from spackle0/mcp_more_tools
cosmetic fixes
2 parents 606be56 + ccb7fa3 commit 12b1005

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [mcp_enhancement, main]
5+
branches: [main]
66
pull_request:
7-
branches: [mcp_enhancement, main]
7+
branches: [main]
88

99
jobs:
1010
test:

scripts/run_tests.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@
55

66
set -euo pipefail
77

8-
# Disable -e for the pytest call so we can inspect the exit code ourselves.
8+
# Disable -e for the pytest call to be able to inspect the exit code
99
set +e
10+
11+
# TODO: put the dirs in a list
1012
uv run pytest services/mcp_k8s_server/tests services/agent_chatbot/tests -v
11-
code=$?
12-
set -e
13+
rc=$?
14+
set -e # Set it back now
1315

14-
if [ $code -eq 4 ] || [ $code -eq 5 ]; then
16+
if [ $rc -eq 4 ] || [ $rc -eq 5 ]; then
17+
# This is for having empty dirs. Should probably nix this later.
1518
echo "No tests collected — treating as success."
1619
exit 0
1720
fi
1821

19-
exit $code
22+
exit $rc

0 commit comments

Comments
 (0)