Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(services/webdav): Setup integration test for owncloud #2659

Merged
merged 6 commits into from
Jul 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/service_test_webdav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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