Skip to content

Commit

Permalink
omit composer install
Browse files Browse the repository at this point in the history
  • Loading branch information
SwikritiT committed Nov 30, 2022
1 parent 010f71b commit f45666d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,24 @@ jobs:
- nextcloudVersion: stable24
phpVersion: 8.1
runs-on: ubuntu-latest
container: ubuntu:latest
# container: ubuntu:latest
services:
openproject:
image: openproject/community:12
ports:
- 8081:80
env:
OPENPROJECT_SECRET_KEY_BASE: secret
OPENPROJECT_HOST__NAME: localhost:8081
# OPENPROJECT_HOST__NAME: localhost:8081
OPENPROJECT_HTTPS: false
OPENPROJECT_PASSWORD__MIN__LENGTH: 0
OPENPROJECT_ONBOARDING__ENABLED: false
OPENPROJECT_AUTHENTICATION_GLOBAL__BASIC__AUTH_USER: apiadmin
OPENPROJECT_AUTHENTICATION_GLOBAL__BASIC__AUTH_PASSWORD: apiadmin
HOST: 0.0.0.0
OPENPROJECT_DEV_EXTRA_HOSTS: localhost
networks:
outside:
external: true
name: localhost
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.9.1
Expand Down Expand Up @@ -83,7 +87,8 @@ jobs:

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

0 comments on commit f45666d

Please sign in to comment.