Skip to content

Commit 9f5d28d

Browse files
committed
coverall permission issue fix
1 parent c33ae57 commit 9f5d28d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/tests.yml

-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ jobs:
3333
- name: Run tests
3434
run: make test
3535

36-
- name: work around permission issue on Coveralls
37-
run: git config --global --add safe.directory /app
38-
3936
- name: Coveralls
4037
env:
4138
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ COPY --from=composer /usr/bin/composer /usr/bin/composer
1515
COPY composer.json /dependencies
1616
COPY composer.lock /dependencies
1717

18-
RUN composer install
18+
RUN composer install \
19+
&& git config --global --add safe.directory /app
1920

2021
FROM php:7.4-cli-alpine3.13
2122

0 commit comments

Comments
 (0)