From 9f5d28d7cf5c2f39b01efb43fbce1e98d6ade295 Mon Sep 17 00:00:00 2001 From: Vitor de Souza Date: Thu, 5 May 2022 10:52:04 -0300 Subject: [PATCH] coverall permission issue fix --- .github/workflows/tests.yml | 3 --- Dockerfile | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ec54497..f5cc0d6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 }} diff --git a/Dockerfile b/Dockerfile index af2207d..8f82693 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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