Skip to content

Commit 964892e

Browse files
committed
run command as sudo
1 parent f7a335b commit 964892e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
services:
2626
openproject:
2727
image: openproject/community:12
28-
ports:
29-
- 8081:80
3028
env:
3129
OPENPROJECT_SECRET_KEY_BASE: secret
3230
# OPENPROJECT_HOST__NAME: localhost:8081
@@ -83,7 +81,7 @@ jobs:
8381

8482
- name: Install PHP Dependencies
8583
run: |
86-
apt-get install git
84+
sudo apt-get install git
8785
composer install --no-progress --prefer-dist --optimize-autoloader
8886
git clone --depth 1 https://github.com/nextcloud/server.git -b ${{ matrix.nextcloudVersion }}
8987
cd server && git submodule update --init
@@ -125,11 +123,11 @@ jobs:
125123
cd apps/integration_openproject
126124
# make api-test
127125

128-
- name: wait on OpenProject
129-
uses: iFaxity/wait-on-action@v1
130-
with:
131-
resource: http-get://localhost/api/v3/
132-
timeout: 240000
126+
# - name: wait on OpenProject
127+
# uses: iFaxity/wait-on-action@v1
128+
# with:
129+
# resource: http-get://localhost/api/v3/
130+
# timeout: 240000
133131
- name: try OpenProject
134132
run: curl http://localhost/api/v3/users -u apiadmin:apiadmin
135133

0 commit comments

Comments
 (0)