From f727f1a07efd35c465b5335bc5a2ffd8bc283bf1 Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Thu, 23 Dec 2021 09:38:50 +0200 Subject: [PATCH] Added mail sending tests and NextCloud feature tests --- .drone.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 36a5a7a..1a7f6bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,4 +22,13 @@ steps: - name: test commands: - > - curl -H "Authorization: Bearer 228337" 'https://api.ruleit.stream/services/status' \ No newline at end of file + curl -H "Authorization: Bearer 228337" 'https://api.ruleit.stream/services/status' + - > + swaks --to ci@selfprivacy.org -s test -tls -au test@ci.selfprivacy.org -ap 228337 + - > + curl --user admin:228337 https://cloud.ruleit.stream/ocs/v2.php/apps/serverinfo/api/v1/info?format=json + - echo "blah-blah" > file + - > + curl -T file -u admin:228337 https://cloud.ruleit.stream/remote.php/dav/files/admin/file + - > + curl -u admin:228337 https://cloud.ruleit.stream/remote.php/dav/files/admin/file