Skip to content

Commit

Permalink
coverall permission issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vsouz4 committed May 5, 2022
1 parent c33ae57 commit 9f5d28d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jobs:
- name: Run tests
run: make test

- name: work around permission issue on Coveralls
run: git config --global --add safe.directory /app

- name: Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY composer.json /dependencies
COPY composer.lock /dependencies

RUN composer install
RUN composer install \
&& git config --global --add safe.directory /app

FROM php:7.4-cli-alpine3.13

Expand Down

0 comments on commit 9f5d28d

Please sign in to comment.