35
35
OPENPROJECT_AUTHENTICATION_GLOBAL__BASIC__AUTH_USER : apiadmin
36
36
OPENPROJECT_AUTHENTICATION_GLOBAL__BASIC__AUTH_PASSWORD : apiadmin
37
37
38
+ proxy :
39
+ image : ghcr.io/juliushaertl/nextcloud-dev-nginx:latest
40
+ ports :
41
+ - " 80:80"
42
+ - " 443:443"
43
+ env :
44
+ DHPARAM_BITS : 2048
45
+ DHPARAM_GENERATION : " false"
46
+ HTTPS_METHOD : " noredirect"
47
+ HSTS : " off"
48
+
49
+ nextcloud :
50
+ image : ghcr.io/juliushaertl/nextcloud-dev-php-81:latest
51
+ env :
52
+ NEXTCLOUD_AUTOINSTALL : " YES"
53
+ NEXTCLOUD_AUTOINSTALL_APPS : " viewer, activity"
54
+ VIRTUAL_HOST : " nextcloud"
55
+ NEXTCLOUD_TRUSTED_DOMAINS : nextcloud
56
+ ports :
57
+ - 8080:80
58
+
59
+
38
60
steps :
39
61
- name : Cancel previous runs
40
62
@@ -82,18 +104,18 @@ jobs:
82
104
- name : Install PHP Dependencies
83
105
run : |
84
106
composer install --no-progress --prefer-dist --optimize-autoloader
85
- git clone --depth 1 https://github.com/nextcloud/server.git -b ${{ matrix.nextcloudVersion }}
86
- cd server && git submodule update --init
87
- ./occ maintenance:install --admin-pass=admin
107
+ # git clone --depth 1 https://github.com/nextcloud/server.git -b ${{ matrix.nextcloudVersion }}
108
+ # cd server && git submodule update --init
109
+ # ./occ maintenance:install --admin-pass=admin
88
110
89
- - name : PHP stan
90
- run : make phpstan
91
-
92
- - name : PHP code style
93
- run : composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
111
+ # - name: PHP stan
112
+ # run: make phpstan
113
+ #
114
+ # - name: PHP code style
115
+ # run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
94
116
95
- - name : Install NPM Dependencies
96
- run : npm install
117
+ # - name: Install NPM Dependencies
118
+ # run: npm install
97
119
98
120
# - name: JS Lint
99
121
# run: npm run lint
@@ -106,18 +128,18 @@ jobs:
106
128
# make phpunit
107
129
# make jsunit
108
130
109
- - name : API Tests
110
- env :
111
- NEXTCLOUD_BASE_URL : http://localhost:8080
112
- run : |
113
- git clone --depth 1 https://github.com/nextcloud/activity.git -b ${{ matrix.nextcloudVersion }} server/apps/activity
114
- mkdir -p server/apps/integration_openproject
115
- cp -r `ls -A | grep -v 'server'` server/apps/integration_openproject/
116
- cd server
117
- ./occ a:e activity
118
- ./occ a:e integration_openproject
119
- php -S localhost:8080 2> /dev/null &
120
- cd apps/integration_openproject
131
+ # - name: API Tests
132
+ # env:
133
+ # NEXTCLOUD_BASE_URL: http://localhost:8080
134
+ # run: |
135
+ # git clone --depth 1 https://github.com/nextcloud/activity.git -b ${{ matrix.nextcloudVersion }} server/apps/activity
136
+ # mkdir -p server/apps/integration_openproject
137
+ # cp -r `ls -A | grep -v 'server'` server/apps/integration_openproject/
138
+ # cd server
139
+ # ./occ a:e activity
140
+ # ./occ a:e integration_openproject
141
+ # php -S localhost:8080 2> /dev/null &
142
+ # cd apps/integration_openproject
121
143
# make api-test
122
144
123
145
- name : wait on OpenProject
@@ -132,6 +154,12 @@ jobs:
132
154
- name : try Nextcloud
133
155
run : curl http://localhost:8080/status.php
134
156
157
+ - name : try Nextcloud2
158
+ run : curl http://nextcloud:8080/status.php
159
+
160
+ - name : try Nextcloud3
161
+ run : curl -k https://nextcloud:8080/status.php
162
+
135
163
- name : JS Code Coverage Summary Report
136
164
if : ${{ github.event_name == 'pull_request' && matrix.nextcloudVersion == 'master' && matrix.phpVersion == '7.4' }}
137
165
0 commit comments