Skip to content

Commit 2df8b7c

Browse files
Correct MCP_SERVER_URL
1 parent 9c9bf99 commit 2df8b7c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,15 @@ jobs:
8181
python -m pip install --upgrade pip
8282
pip install -r requirements.txt
8383
84+
- name: Get Heroku app URL
85+
id: heroku_url
86+
run: |
87+
url=$(heroku info -s -a $APP_NAME | grep web_url | cut -d= -f2 | tr -d '\n')
88+
echo "url=$url" >> "$GITHUB_OUTPUT"
89+
8490
- name: Run pytest against deployed app
8591
env:
86-
MCP_SERVER_URL: https://${{ env.APP_NAME }}.herokuapp.com
92+
MCP_SERVER_URL: ${{ steps.heroku_url.outputs.url }}
8793
API_KEY: ${{ env.API_KEY }}
8894
run: pytest -q
8995

0 commit comments

Comments
 (0)