You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/07/17 17:21:20 UTC
[incubator-opendal] branch main updated: ci(services/webdav): Setup integration test for owncloud (#2659)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 2a88d379b ci(services/webdav): Setup integration test for owncloud (#2659)
2a88d379b is described below
commit 2a88d379b524c1b665964dc3201a69ec5a9de518
Author: dqhl76 <dq...@gmail.com>
AuthorDate: Tue Jul 18 01:21:15 2023 +0800
ci(services/webdav): Setup integration test for owncloud (#2659)
* ci: add owncloud
* fix: endpoint
* delete test tag
* try to fix endpoint
* try to fix webdav problem
* reset
---
.github/workflows/service_test_webdav.yml | 32 +++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/.github/workflows/service_test_webdav.yml b/.github/workflows/service_test_webdav.yml
index 9f1be7fa8..acb0682b3 100644
--- a/.github/workflows/service_test_webdav.yml
+++ b/.github/workflows/service_test_webdav.yml
@@ -187,3 +187,35 @@ jobs:
OPENDAL_WEBDAV_ENDPOINT: http://127.0.0.1:8080/remote.php/webdav/
OPENDAL_WEBDAV_USERNAME: admin
OPENDAL_WEBDAV_PASSWORD: admin
+
+ owncloud:
+ runs-on: ubuntu-latest
+
+ services:
+ owncloud:
+ image: owncloud/server
+ ports:
+ - 8080:8080
+ env:
+ ADMIN_USERNAME: admin
+ ADMIN_PASSWORD: admin
+ OWNCLOUD_DOMAIN: localhost:8080
+ HTTP_PORT: 8080
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup Rust toolchain
+ uses: ./.github/actions/setup
+ with:
+ need-nextest: true
+
+ - name: Test
+ shell: bash
+ working-directory: core
+ run: |
+ cargo test webdav
+ env:
+ OPENDAL_WEBDAV_TEST: on
+ OPENDAL_WEBDAV_ENDPOINT: http://127.0.0.1:8080/remote.php/dav/files/admin
+ OPENDAL_WEBDAV_USERNAME: admin
+ OPENDAL_WEBDAV_PASSWORD: admin