Skip to content

Commit

Permalink
fix: gitlab ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gjuro87 committed Sep 19, 2023
1 parent 2c15b5d commit fa96b64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pytest:
script:
- >
docker run
-e TEST_DATABASE_URL=postgres://postgres:postgres@$POSTGRES_PORT_5432_TCP_ADDR:5432/postgres
-e REDIS_URL=redis://$REDIS_PORT_6379_TCP_ADDR:6379/0
-e TEST_DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres
-e REDIS_URL=redis://redis:6379/0
$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
pytest -v --cov phoenix
2 changes: 1 addition & 1 deletion phoenix/tests/slackbot/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_join_channels(mocked_api_call):
channels_to_join = ["channel-x", "test-channel", "channel-a"]
utils.join_channels(channels_to_join)
test_called_with = (
"call('conversations.list', cursor='', limit=200)",
"call('conversations.list', limit=200, cursor='')",
"call('conversations.invite', channel='123sd', users='unittest-bot-id')",
"call('conversations.invite', channel='45fg', users='unittest-bot-id')",
)
Expand Down

0 comments on commit fa96b64

Please sign in to comment.