File tree Expand file tree Collapse file tree 1 file changed +10
-16
lines changed
Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -57,27 +57,21 @@ Using ginkgo:
5757
5858``` bash
5959go install github.com/onsi/ginkgo/v2/ginkgo
60- ginkgo --skip-package=integration --randomize-all --cover -v -r
60+ ginkgo --skip-package=integration --randomize-all --cover -v -r ./azurebs/...
6161```
6262
6363Using go test:
6464
6565``` bash
66- go test $( go list ./... | grep -v integration)
66+ go test $( go list ./azurebs/ ... | grep -v integration)
6767```
6868
6969### Integration tests
70-
71- 1 . Export the following variables into your environment:
72-
73- ``` bash
74- export ACCOUNT_NAME=< your Azure accounnt name>
75- export ACCOUNT_KEY=< your Azure account key>
76- export CONTAINER_NAME=< the target container name>
77- ```
78-
79- 2. Run integration tests
80-
81- ` ` ` bash
82- go test ./integration/...
83- ` ` `
70+ 1 . Create a storage account in your azure subscription.
71+ 1 . Get ` account name ` and ` access key ` from you storage account.
72+ 1 . Export ` account name ` with command ` export azure_storage_account=<account name> ` .
73+ 1 . Export ` access key ` with command ` export azure_storage_key=<access key> ` .
74+ 1 . Navigate to project's root folder.
75+ 1 . Run environment setup script to create container ` /.github/scripts/azurebs/setup.sh ` .
76+ 1 . Run tests ` /.github/scripts/azurebs/run-int.sh ` .
77+ 1 . Run environment teardown script to delete test resources ` /.github/scripts/azurebs/teardown.sh ` .
You can’t perform that action at this time.
0 commit comments