From c799e737747d328d324b85bf6bf1a0ea2e2b093e Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 15:23:07 +0200 Subject: [PATCH 01/19] introduce prints of free disk space --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 001b8bed4..3158a51f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,8 @@ jobs: echo "PYTHONPATH=/usr/local/icetray/lib:$PYTHONPATH" >> $GITHUB_ENV echo "LD_LIBRARY_PATH=/usr/local/icetray/lib:/usr/local/icetray/cernroot/lib:/usr/local/icetray/lib/tools:$LD_LIBRARY_PATH" >> $GITHUB_ENV - uses: actions/checkout@v3 + - name: Print available disk space before graphnet install + run: df -h - name: Upgrade packages already installed on icecube/icetray run: | pip install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] @@ -82,16 +84,22 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + - name: Print available disk space before graphnet install + run: df -h - name: Install package uses: ./.github/actions/install with: editable: true + - name: Print available disk space after graphnet install + run: df -h - name: Run unit tests and generate coverage report run: | set -o pipefail # To propagate exit code from pytest coverage run --source=graphnet -m pytest tests/ --ignore=tests/utilities --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/examples/01_icetray/ coverage run --source=graphnet -m pytest tests/utilities coverage report -m + - name: Print available disk space after unit tests + run: df -h build-macos: name: Unit tests - macOS From eba116380900967331d25971b280dfbf3f5865b3 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 15:44:16 +0200 Subject: [PATCH 02/19] copy paste weird space freeing commands --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3158a51f4..d0e53d786 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,6 +46,13 @@ jobs: - uses: actions/checkout@v3 - name: Print available disk space before graphnet install run: df -h + - name: free disk space + run: | + sudo swapoff -a + sudo rm -f /swapfile + sudo apt clean + docker rmi $(docker image ls -aq) + df -h - name: Upgrade packages already installed on icecube/icetray run: | pip install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] From 782e80606d1c3fb68dce71ad926982849c238965 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 15:54:49 +0200 Subject: [PATCH 03/19] remove sudo commands --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0e53d786..f408b4e87 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,9 +48,6 @@ jobs: run: df -h - name: free disk space run: | - sudo swapoff -a - sudo rm -f /swapfile - sudo apt clean docker rmi $(docker image ls -aq) df -h - name: Upgrade packages already installed on icecube/icetray From fb4cf797596bed78078e0123db7a73331851eb3a Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 15:57:03 +0200 Subject: [PATCH 04/19] change icetray docker image to "stable-slim" --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f408b4e87..4b2ba6fe7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: name: Unit tests - IceTray needs: [ check-codeclimate-credentials ] runs-on: ubuntu-latest - container: icecube/icetray:combo-stable + container: icecube/icetray:stable-slim steps: - name: Set environment variables run: | @@ -46,10 +46,6 @@ jobs: - uses: actions/checkout@v3 - name: Print available disk space before graphnet install run: df -h - - name: free disk space - run: | - docker rmi $(docker image ls -aq) - df -h - name: Upgrade packages already installed on icecube/icetray run: | pip install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] From fe6d400183c61fdab9780e2f5ab06e5352b93be2 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 16:00:48 +0200 Subject: [PATCH 05/19] changed docker image to "combo-stable-slim" --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b2ba6fe7..f26d9571a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: name: Unit tests - IceTray needs: [ check-codeclimate-credentials ] runs-on: ubuntu-latest - container: icecube/icetray:stable-slim + container: icecube/icetray:combo-stable-slim steps: - name: Set environment variables run: | From d4c9c8711a43110b3603e31095f09a3b98804a73 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 16:05:46 +0200 Subject: [PATCH 06/19] try pip3... --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f26d9571a..3dd90c223 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,9 +48,9 @@ jobs: run: df -h - name: Upgrade packages already installed on icecube/icetray run: | - pip install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] - pip install --ignore-installed PyYAML # Distutils installed [https://github.com/pypa/pip/issues/5247] - pip install --upgrade psutil # Original version from IceTray Environment incompatible + pip3 install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] + pip3 install --ignore-installed PyYAML # Distutils installed [https://github.com/pypa/pip/issues/5247] + pip3 install --upgrade psutil # Original version from IceTray Environment incompatible - name: Install package uses: ./.github/actions/install with: From 7ff93ec5026c67ff9f420787c898e7f80306d5ac Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 16:11:42 +0200 Subject: [PATCH 07/19] "stable-prod".. --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dd90c223..282fc5570 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: name: Unit tests - IceTray needs: [ check-codeclimate-credentials ] runs-on: ubuntu-latest - container: icecube/icetray:combo-stable-slim + container: icecube/icetray:stable-prod steps: - name: Set environment variables run: | @@ -48,9 +48,9 @@ jobs: run: df -h - name: Upgrade packages already installed on icecube/icetray run: | - pip3 install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] - pip3 install --ignore-installed PyYAML # Distutils installed [https://github.com/pypa/pip/issues/5247] - pip3 install --upgrade psutil # Original version from IceTray Environment incompatible + pip install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] + pip install --ignore-installed PyYAML # Distutils installed [https://github.com/pypa/pip/issues/5247] + pip install --upgrade psutil # Original version from IceTray Environment incompatible - name: Install package uses: ./.github/actions/install with: From cd30525c3f7df2ec8731416d04962052e4f241d1 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 16:19:26 +0200 Subject: [PATCH 08/19] "icetray-prod-v1.8.1-ubuntu20.04-X64" --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 282fc5570..3d5ad6575 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: name: Unit tests - IceTray needs: [ check-codeclimate-credentials ] runs-on: ubuntu-latest - container: icecube/icetray:stable-prod + container: icecube/icetray:icetray-prod-v1.8.1-ubuntu20.04-X64 steps: - name: Set environment variables run: | From c3c28ef056a2df81d2e0f5998491a7c8a5b85507 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 16:32:13 +0200 Subject: [PATCH 09/19] remove permission workaround --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d5ad6575..3fddcfaef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,9 +60,9 @@ 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: | + # 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' From 6790cd15dab7a2bebe0ab1d7b3f2ee769fd645a0 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 16:45:16 +0200 Subject: [PATCH 10/19] 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' From 8a3bed1a44270f344f1f333ebb48b6025c0385c7 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 16:51:47 +0200 Subject: [PATCH 11/19] comment out permission fix --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2bdfd635..3fddcfaef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,10 +60,9 @@ 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: | - conda install -c anaconda git - git config --global --add safe.directory /__w/graphnet/graphnet + #- name: Work around permission issue + # run: | + # 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' From 5853e90c99eb2e022724e7c003d17ec2e3b5698b Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 17:19:19 +0200 Subject: [PATCH 12/19] benedikt's trick --- .github/workflows/build.yml | 39 ++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fddcfaef..f79fdb10c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: name: Unit tests - IceTray needs: [ check-codeclimate-credentials ] runs-on: ubuntu-latest - container: icecube/icetray:icetray-prod-v1.8.1-ubuntu20.04-X64 + container: icecube/icetray:combo-stable steps: - name: Set environment variables run: | @@ -44,7 +44,36 @@ jobs: echo "PYTHONPATH=/usr/local/icetray/lib:$PYTHONPATH" >> $GITHUB_ENV echo "LD_LIBRARY_PATH=/usr/local/icetray/lib:/usr/local/icetray/cernroot/lib:/usr/local/icetray/lib/tools:$LD_LIBRARY_PATH" >> $GITHUB_ENV - uses: actions/checkout@v3 - - name: Print available disk space before graphnet install + - name: Print available disk space before clean-up + run: df -h + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: false + swap-storage: true + - name: manually remove gcloud + shell: bash + run: sudo apt-get remove google-cloud-cli + - name: same as 'large-packages' but without 'google-cloud-sdk' + shell: bash + run: | + sudo apt-get remove -y '^dotnet-.*' + sudo apt-get remove -y '^llvm-.*' + sudo apt-get remove -y 'php.*' + sudo apt-get remove -y '^mongodb-.*' + sudo apt-get remove -y '^mysql-.*' + sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri + sudo apt-get autoremove -y + sudo apt-get clean + - name: Print available disk space after disk clean-up run: df -h - name: Upgrade packages already installed on icecube/icetray run: | @@ -60,9 +89,9 @@ 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: | + 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' From 51c82c38d748c99ed86f7084b23aa3af4ac18c00 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 17:24:30 +0200 Subject: [PATCH 13/19] remove google cli reference --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f79fdb10c..ce8c7b82f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,9 +59,6 @@ jobs: haskell: true large-packages: false swap-storage: true - - name: manually remove gcloud - shell: bash - run: sudo apt-get remove google-cloud-cli - name: same as 'large-packages' but without 'google-cloud-sdk' shell: bash run: | From a20a598fcc1c4190e56741b494591e0e5aeb0437 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 17:29:29 +0200 Subject: [PATCH 14/19] more edits.. --- .github/workflows/build.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce8c7b82f..de669d907 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,13 +62,6 @@ jobs: - name: same as 'large-packages' but without 'google-cloud-sdk' shell: bash run: | - sudo apt-get remove -y '^dotnet-.*' - sudo apt-get remove -y '^llvm-.*' - sudo apt-get remove -y 'php.*' - sudo apt-get remove -y '^mongodb-.*' - sudo apt-get remove -y '^mysql-.*' - sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri - sudo apt-get autoremove -y sudo apt-get clean - name: Print available disk space after disk clean-up run: df -h From 2fe9d8567a654ba650cbe50a5e967e31b13e56d2 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 17:37:32 +0200 Subject: [PATCH 15/19] try to install git --- .github/workflows/build.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de669d907..6220c7c59 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: echo "PYTHONPATH=/usr/local/icetray/lib:$PYTHONPATH" >> $GITHUB_ENV echo "LD_LIBRARY_PATH=/usr/local/icetray/lib:/usr/local/icetray/cernroot/lib:/usr/local/icetray/lib/tools:$LD_LIBRARY_PATH" >> $GITHUB_ENV - uses: actions/checkout@v3 - - name: Print available disk space before clean-up + - name: Print available disk space before graphnet install run: df -h - name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@main @@ -59,12 +59,20 @@ jobs: haskell: true large-packages: false swap-storage: true + - name: manually remove gcloud + shell: bash + run: sudo apt-get remove google-cloud-cli - name: same as 'large-packages' but without 'google-cloud-sdk' shell: bash run: | + sudo apt-get remove -y '^dotnet-.*' + sudo apt-get remove -y '^llvm-.*' + sudo apt-get remove -y 'php.*' + sudo apt-get remove -y '^mongodb-.*' + sudo apt-get remove -y '^mysql-.*' + sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri + sudo apt-get autoremove -y sudo apt-get clean - - name: Print available disk space after disk clean-up - run: df -h - name: Upgrade packages already installed on icecube/icetray run: | pip install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] @@ -79,9 +87,13 @@ 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: install git + shell: bash + run: | + sudo apt-get install git-all - name: Work around permission issue run: | - git config --global --add safe.directory /__w/graphnet/graphnet + # 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' From 1091bfc41ed48f03f976ae14b54527ce8a523b39 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 17:37:50 +0200 Subject: [PATCH 16/19] uncomment --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6220c7c59..29b4227eb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,7 +93,7 @@ jobs: sudo apt-get install git-all - name: Work around permission issue run: | - # git config --global --add safe.directory /__w/graphnet/graphnet + 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' From 21232af63cebf4a18cb4fbb4620dd2ad904ce0bc Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 17:38:32 +0200 Subject: [PATCH 17/19] remove benedikt's trick --- .github/workflows/build.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29b4227eb..ef6850aa8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: name: Unit tests - IceTray needs: [ check-codeclimate-credentials ] runs-on: ubuntu-latest - container: icecube/icetray:combo-stable + container: icecube/icetray:icetray-prod-v1.8.1-ubuntu22.04-x64 steps: - name: Set environment variables run: | @@ -46,33 +46,6 @@ jobs: - uses: actions/checkout@v3 - name: Print available disk space before graphnet install run: df -h - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - # all of these default to true, but feel free to set to - # "false" if necessary for your workflow - android: true - dotnet: true - haskell: true - large-packages: false - swap-storage: true - - name: manually remove gcloud - shell: bash - run: sudo apt-get remove google-cloud-cli - - name: same as 'large-packages' but without 'google-cloud-sdk' - shell: bash - run: | - sudo apt-get remove -y '^dotnet-.*' - sudo apt-get remove -y '^llvm-.*' - sudo apt-get remove -y 'php.*' - sudo apt-get remove -y '^mongodb-.*' - sudo apt-get remove -y '^mysql-.*' - sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri - sudo apt-get autoremove -y - sudo apt-get clean - name: Upgrade packages already installed on icecube/icetray run: | pip install --upgrade astropy # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534] From 728eef659d7219d60be83c3be3b780611f4b3c14 Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 17:41:23 +0200 Subject: [PATCH 18/19] cmon --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef6850aa8..9cc81f300 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: name: Unit tests - IceTray needs: [ check-codeclimate-credentials ] runs-on: ubuntu-latest - container: icecube/icetray:icetray-prod-v1.8.1-ubuntu22.04-x64 + container: icecube/icetray:icetray-prod-v1.8.1-ubuntu20.04-X64 steps: - name: Set environment variables run: | From 255adf9a233a8a8bc06c326dd6fefaedfdaa8eaf Mon Sep 17 00:00:00 2001 From: Rasmus Oersoe Date: Fri, 29 Sep 2023 17:55:05 +0200 Subject: [PATCH 19/19] return to normal --- .github/workflows/build.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9cc81f300..75be67797 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,13 +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: install git - shell: bash - run: | - sudo apt-get install git-all - - name: Work around permission issue - run: | - git config --global --add safe.directory /__w/graphnet/graphnet + + #- name: Work around permission issue + # run: | + # 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'