From 31647315d994afdd1e7a600fbec76e9ae4475f3b Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 16:45:16 +0200 Subject: [PATCH] install git --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fddcfaef..b2bdfd635 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,9 +60,10 @@ jobs: coverage run --source=graphnet -m pytest tests/ --ignore=tests/examples coverage run --source=graphnet -m pytest tests/examples/01_icetray coverage xml -o coverage.xml - #- name: Work around permission issue - # run: | - # git config --global --add safe.directory /__w/graphnet/graphnet + - name: Work around permission issue + run: | + conda install -c anaconda git + git config --global --add safe.directory /__w/graphnet/graphnet - name: Publish code coverage uses: paambaati/codeclimate-action@v3.0.0 if: needs.check-codeclimate-credentials.outputs.has_credentials == 'true'