diff --git a/.github/workflows/service_test_webdav.yml b/.github/workflows/service_test_webdav.yml index 9f1be7fa85b..acb0682b30c 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