mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Fix ci test for AWS S3
This commit is contained in:
parent
46a3fdb31f
commit
efcdc97daf
@ -124,7 +124,7 @@ else
|
||||
fi
|
||||
|
||||
# Create an empty minio folder with appropriate permissions so www user can write inside it
|
||||
mkdir -p /tmp/minio_tests/test_bucket && chmod -R 777 /tmp/minio_tests
|
||||
mkdir -p /tmp/minio_tests/test-bucket && chmod -R 777 /tmp/minio_tests
|
||||
|
||||
# Create an empty webdav folder with appropriate permissions so www user can write inside it
|
||||
mkdir -p /tmp/webdav_tests && chmod 777 /tmp/webdav_tests
|
||||
|
@ -24,6 +24,3 @@ test_core_layerdefinition
|
||||
PyQgsProviderConnectionMssql
|
||||
PyQgsStyleStorageMssql
|
||||
|
||||
# CI setup is no longer working for this test
|
||||
PyQgsExternalStorageAwsS3
|
||||
|
||||
|
2
.github/workflows/run-tests.yml
vendored
2
.github/workflows/run-tests.yml
vendored
@ -409,7 +409,7 @@ jobs:
|
||||
echo "TEST_BATCH=$TEST_BATCH"
|
||||
echo "DOCKERFILE=$DOCKERFILE"
|
||||
mkdir -p /tmp/webdav_tests && chmod 777 /tmp/webdav_tests
|
||||
mkdir -p /tmp/minio_tests/test_bucket && chmod -R 777 /tmp/minio_tests
|
||||
mkdir -p /tmp/minio_tests/test-bucket && chmod -R 777 /tmp/minio_tests
|
||||
docker-compose -f .docker/$DOCKERFILE run qgis-deps /root/QGIS/.docker/docker-qgis-test.sh $TEST_BATCH
|
||||
|
||||
- name: Archive test results report
|
||||
|
@ -34,7 +34,7 @@ class TestPyQgsExternalStorageAwsS3(TestPyQgsExternalStorageBase, unittest.TestC
|
||||
super().setUpClass()
|
||||
unittest.TestCase.setUpClass()
|
||||
|
||||
bucket_name = "test_bucket"
|
||||
bucket_name = "test-bucket"
|
||||
|
||||
cls.auth_config = QgsAuthMethodConfig("AWSS3")
|
||||
cls.auth_config.setConfig("username", "minioadmin")
|
||||
|
Loading…
x
Reference in New Issue
Block a user