Skip to content

Commit 8ef1aaa

Browse files
authored
Unblock emulater based tests (apache#627)
* Unblock emulater based tests * Use uv instead of pipx Signed-off-by: Adam Gutglick <adamgsal@gmail.com> * Skip azurite API version check --------- Signed-off-by: Adam Gutglick <adamgsal@gmail.com>
1 parent 9f4f679 commit 8ef1aaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ jobs:
139139
- name: Configure Azurite (Azure emulation)
140140
# the magical connection string is from
141141
# https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azurite?tabs=visual-studio#http-connection-strings
142+
# We skip the API version check to prevent breaks related to differences between Azurite, Azure and the azure-cli,
143+
# see https://github.com/Azure/Azurite/issues/2623
142144
run: |
143-
echo "AZURITE_CONTAINER=$(docker run -d -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite)" >> $GITHUB_ENV
145+
echo "AZURITE_CONTAINER=$(docker run -d -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite azurite -l /data --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --skipApiVersionCheck)" >> $GITHUB_ENV
144146
az storage container create -n test-bucket --connection-string 'DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://localhost:10000/devstoreaccount1;QueueEndpoint=http://localhost:10001/devstoreaccount1;'
145147
146148
- name: Setup Rust toolchain

0 commit comments

Comments
 (0)