mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[test] Move direct URL test to cover all specialDirs; Use storageFolderName to verify fix from d4658ce
This commit is contained in:
13
.github/workflows/azureStorageTests.yml
vendored
13
.github/workflows/azureStorageTests.yml
vendored
@ -60,14 +60,7 @@ jobs:
|
||||
"secretAccessKey": "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
|
||||
},
|
||||
"persistentStorage": {
|
||||
"name": "storage-az",
|
||||
"region": "",
|
||||
"endpoint": "http://127.0.0.1:10000/devstoreaccount1",
|
||||
"bucketName": "test-container",
|
||||
"storageFolderName": "files",
|
||||
"cacheFolderName": "data",
|
||||
"accessKeyId": "devstoreaccount1",
|
||||
"secretAccessKey": "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
|
||||
"storageFolderName": "files/persistent"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
@ -113,6 +106,4 @@ jobs:
|
||||
"
|
||||
|
||||
- name: Run storage tests
|
||||
run: |
|
||||
cd ./DocService
|
||||
npx jest ../tests/integration/withServerInstance/storage.tests.js --inject-globals=false --config=../tests/jest.config.js
|
||||
run: npm run storage-tests
|
||||
12
.github/workflows/s3storageTests.yml
vendored
12
.github/workflows/s3storageTests.yml
vendored
@ -54,13 +54,7 @@ jobs:
|
||||
"forcePathStyle": true
|
||||
},
|
||||
"persistentStorage": {
|
||||
"name": "storage-s3",
|
||||
"region": "us-east-1",
|
||||
"endpoint": "http://localhost:9000",
|
||||
"accessKeyId": "minioadmin",
|
||||
"secretAccessKey": "minioadmin",
|
||||
"bucket": "cache",
|
||||
"forcePathStyle": true
|
||||
"storageFolderName": "files/persistent"
|
||||
}
|
||||
}' >> Common/config/local.json
|
||||
|
||||
@ -70,6 +64,4 @@ jobs:
|
||||
docker exec minio mc mb myminio/cache
|
||||
|
||||
- name: Run storage tests
|
||||
run: |
|
||||
cd ./DocService
|
||||
npx jest ../tests/integration/withServerInstance/storage.tests.js --inject-globals=false --config=../tests/jest.config.js
|
||||
run: npm run storage-tests
|
||||
Reference in New Issue
Block a user