Skip to content

Commit f45666d

Browse files
committed
omit composer install
1 parent 010f71b commit f45666d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,24 @@ jobs:
2121
- nextcloudVersion: stable24
2222
phpVersion: 8.1
2323
runs-on: ubuntu-latest
24-
container: ubuntu:latest
24+
# container: ubuntu:latest
2525
services:
2626
openproject:
2727
image: openproject/community:12
28+
ports:
29+
- 8081:80
2830
env:
2931
OPENPROJECT_SECRET_KEY_BASE: secret
30-
OPENPROJECT_HOST__NAME: localhost:8081
32+
# OPENPROJECT_HOST__NAME: localhost:8081
3133
OPENPROJECT_HTTPS: false
3234
OPENPROJECT_PASSWORD__MIN__LENGTH: 0
3335
OPENPROJECT_ONBOARDING__ENABLED: false
3436
OPENPROJECT_AUTHENTICATION_GLOBAL__BASIC__AUTH_USER: apiadmin
3537
OPENPROJECT_AUTHENTICATION_GLOBAL__BASIC__AUTH_PASSWORD: apiadmin
36-
HOST: 0.0.0.0
37-
OPENPROJECT_DEV_EXTRA_HOSTS: localhost
38+
networks:
39+
outside:
40+
external: true
41+
name: localhost
3842
steps:
3943
- name: Cancel previous runs
4044
uses: styfle/[email protected]
@@ -83,7 +87,8 @@ jobs:
8387

8488
- name: Install PHP Dependencies
8589
run: |
86-
composer install --no-progress --prefer-dist --optimize-autoloader --no-dev
90+
apt-get install git
91+
composer install --no-progress --prefer-dist --optimize-autoloader
8792
git clone --depth 1 https://github.com/nextcloud/server.git -b ${{ matrix.nextcloudVersion }}
8893
cd server && git submodule update --init
8994
./occ maintenance:install --admin-pass=admin

0 commit comments

Comments
 (0)