Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Commit 0b1afa6

Browse files
committed
tests: Add README for integration tests
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent e0027c3 commit 0b1afa6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

tests/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## How run azblob integration tests
2+
3+
### Run tests locally
4+
5+
Copy example files and update corresponding values.
6+
7+
```shell
8+
cp Makefile.env.exmaple Makefile.env
9+
```
10+
11+
Run tests
12+
13+
```shell
14+
make integration_test
15+
```
16+
17+
### Run tests in CI
18+
19+
Set following environment variables:
20+
21+
```shell
22+
export STORAGE_AZBLOB_INTEGRATION_TEST=on
23+
export STORAGE_AZBLOB_CREDENTIAL=hmac:access_key:secret_key
24+
export STORAGE_AZBLOB_NAME=bucketname
25+
export STORAGE_AZBLOB_ENDPOINT=https:accountname.blob.core.windows.net
26+
```
27+
28+
Run tests
29+
30+
```shell
31+
make integration_test
32+
```

0 commit comments

Comments
 (0)