Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuka Trovic <luka@nextcloud.com>2022-04-26 11:44:53 +0300
committerLuka Trovic <luka@nextcloud.com>2022-05-09 14:07:33 +0300
commitf2ba1bd4ab59ed22cf3d7a29df4dcddc993113e1 (patch)
tree8c9b08986cfed2b9223ae182cf92c8b2433680ce /.github
parent3ce8041a12948786a959efd7aa7f811b54e3267c (diff)
fix: make cypress tests pass
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cypress.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index 4fc50977..b0bc9788 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -9,7 +9,7 @@ on:
env:
APP_NAME: deck
- CYPRESS_baseUrl: http://nextcloud.local/index.php/
+ CYPRESS_baseUrl: http://nextcloud.local/index.php
jobs:
cypress:
@@ -26,8 +26,10 @@ jobs:
server-versions: [ 'master' ]
steps:
- - name: Setup custom host for nextcloud
- run: echo "localhost nextcloud.local" | sudo tee -a /etc/hosts
+ - name: Set up custom host for nextcloud
+ run: |
+ sudo echo "127.0.0.1 nextcloud.local" | sudo tee -a /etc/hosts
+ cat /etc/hosts
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
@@ -73,13 +75,13 @@ jobs:
php occ config:system:set memcache.local --value="\\OC\\Memcache\\APCu"
php occ config:system:set debug --value=true --type=boolean
php -f index.php
- php -S 0.0.0.0:80 &
+ sudo php -S 0.0.0.0:80 &
export OC_PASS=1234561
php occ user:add --password-from-env user1
php occ user:add --password-from-env user2
php occ app:enable deck
php occ app:list
- curl -v http://localhost/index.php/login
+ curl -v http://nextcloud.local/index.php/login
cat data/nextcloud.log
- name: Cypress run