Skip to content

Commit

Permalink
Use azurite from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhen committed Dec 30, 2023
1 parent c41412c commit 2fb95f1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion Azurite
Submodule Azurite deleted from d13cd7
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ To build Streamstone binaries on Windows you will need to have Visual Studio 17

## Running unit tests

Unit tests require Azure Storage Emulator 5.2 or higher, which is currently available only on Windows. Alternatively, you could run against real Azure by setting storage account connection string to **Streamstone-Test-Storage** user-level environment variable.
### Windows/Linux/MacOs

Use Azurite [npm](https://www.npmjs.com/package/azurite#npm) package to run tests and example app against an emulated table storage service.

WARNING: Azurite doesn't fully emulate Azure Table Storage functionality so you may have some of the tests failing.

NOTE: Alternatively, you could run against real Azure by setting storage account connection string to **Streamstone-Test-Storage** user-level environment variable.


## Design

Expand Down
7 changes: 1 addition & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ install:
- sh: sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0

build_script:
- git submodule init
- git submodule update
- cd Azurite
- npm ci
- npm run build
- npm install -g
- npm install -g azurite
- (exec azurite -l ~/.data &)
- sleep 5
- cd ..
Expand Down

0 comments on commit 2fb95f1

Please sign in to comment.