From d6ae72136745d6cf8919603174e5362b7154d753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Thu, 3 Apr 2025 13:07:26 +0200 Subject: [PATCH 1/8] Adjust the actions.yml-file to the repository --- .github/actions/before-script/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/before-script/action.yml b/.github/actions/before-script/action.yml index 5d8ff1a..42ef6e4 100644 --- a/.github/actions/before-script/action.yml +++ b/.github/actions/before-script/action.yml @@ -42,4 +42,4 @@ runs: cmake .. make cd "$GITHUB_WORKSPACE" - shell: bash \ No newline at end of file + shell: bash From a586f611c3f5f4db8465980abebbf4f878f9e8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Thu, 3 Apr 2025 14:15:32 +0200 Subject: [PATCH 2/8] Merge the action.yml file with the ci.yml file --- .github/workflows/ci.yml | 58 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18597ca..89ec5fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,54 @@ jobs: arch: x64 steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/before-script + - name: Install dependencies (apt) + run: | + sudo apt-get update -qq + sudo apt-get install -y git glpk-utils g++ cmake wget curl + shell: bash + + - name: Install Miniconda + run: | + wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh + bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda + echo "$HOME/miniconda/bin" >> $GITHUB_PATH + source "$HOME/miniconda/etc/profile.d/conda.sh" + conda init bash + shell: bash + + - name: Setup Conda Environment and Install Poetry + run: | + source "$HOME/miniconda/etc/profile.d/conda.sh" + conda create --name testenv python=3.10 -y + conda activate testenv + conda install -c conda-forge poetry -y + + echo "MAIN_DIR=$(pwd)" >> $GITHUB_ENV + cd test/python_module + poetry install + cd "$MAIN_DIR" + + git clone https://gitlab.sintef.no/harald.svendsen/timeseries.git + cd timeseries + poetry install + cd "$MAIN_DIR" + + git clone https://github.com/iDesignRES/Tecnalia.git + cd Tecnalia/examples/pv_power_plants + poetry install + cd ../building_energy_process + poetry install + cd "$MAIN_DIR" + + git clone https://github.com/iDesignRES/CHP_modelling.git + cd CHP_modelling + mkdir build + cd build + cmake .. + make + cd "$MAIN_DIR" + shell: bash + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} @@ -41,12 +88,21 @@ jobs: - name: Run Julia tests inside the testenv-enviornment in Miniconda run: | source "$HOME/miniconda/etc/profile.d/conda.sh" +<<<<<<< HEAD conda init bash conda activate testenv +======= + conda activate testenv + +>>>>>>> 8fb54db (Merge the action.yml file with the ci.yml file) julia --project=. -e ' using Pkg; ENV["PYTHON"] = joinpath(ENV["HOME"], "miniconda", "envs", "testenv", "bin", "python"); Pkg.build("PyCall"); +<<<<<<< HEAD Pkg.test(; coverage=true) +======= + Pkg.test(; test_args=["--depwarn=error"]) +>>>>>>> 8fb54db (Merge the action.yml file with the ci.yml file) ' shell: bash From 1bf81f6ec42a9301058f28dc141ca4af55cae1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Thu, 3 Apr 2025 15:02:59 +0200 Subject: [PATCH 3/8] Try to fix CI by having cloning of external repos as separate runs --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89ec5fe..e3855df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,12 @@ jobs: conda init bash shell: bash + - name: Clone external repositories + run: | + git clone https://gitlab.sintef.no/harald.svendsen/timeseries.git + git clone https://github.com/iDesignRES/Tecnalia.git + git clone https://github.com/iDesignRES/CHP_modelling.git + - name: Setup Conda Environment and Install Poetry run: | source "$HOME/miniconda/etc/profile.d/conda.sh" @@ -49,19 +55,16 @@ jobs: poetry install cd "$MAIN_DIR" - git clone https://gitlab.sintef.no/harald.svendsen/timeseries.git cd timeseries poetry install cd "$MAIN_DIR" - git clone https://github.com/iDesignRES/Tecnalia.git cd Tecnalia/examples/pv_power_plants poetry install cd ../building_energy_process poetry install cd "$MAIN_DIR" - git clone https://github.com/iDesignRES/CHP_modelling.git cd CHP_modelling mkdir build cd build From d134e2e13486148737568746a0b71508becff183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Thu, 3 Apr 2025 15:12:43 +0200 Subject: [PATCH 4/8] Place all bash commands in a single run --- .github/workflows/ci.yml | 61 +--------------------------------------- 1 file changed, 1 insertion(+), 60 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3855df..18597ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,57 +22,7 @@ jobs: arch: x64 steps: - uses: actions/checkout@v4 - - name: Install dependencies (apt) - run: | - sudo apt-get update -qq - sudo apt-get install -y git glpk-utils g++ cmake wget curl - shell: bash - - - name: Install Miniconda - run: | - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh - bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda - echo "$HOME/miniconda/bin" >> $GITHUB_PATH - source "$HOME/miniconda/etc/profile.d/conda.sh" - conda init bash - shell: bash - - - name: Clone external repositories - run: | - git clone https://gitlab.sintef.no/harald.svendsen/timeseries.git - git clone https://github.com/iDesignRES/Tecnalia.git - git clone https://github.com/iDesignRES/CHP_modelling.git - - - name: Setup Conda Environment and Install Poetry - run: | - source "$HOME/miniconda/etc/profile.d/conda.sh" - conda create --name testenv python=3.10 -y - conda activate testenv - conda install -c conda-forge poetry -y - - echo "MAIN_DIR=$(pwd)" >> $GITHUB_ENV - cd test/python_module - poetry install - cd "$MAIN_DIR" - - cd timeseries - poetry install - cd "$MAIN_DIR" - - cd Tecnalia/examples/pv_power_plants - poetry install - cd ../building_energy_process - poetry install - cd "$MAIN_DIR" - - cd CHP_modelling - mkdir build - cd build - cmake .. - make - cd "$MAIN_DIR" - shell: bash - + - uses: ./.github/actions/before-script - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} @@ -91,21 +41,12 @@ jobs: - name: Run Julia tests inside the testenv-enviornment in Miniconda run: | source "$HOME/miniconda/etc/profile.d/conda.sh" -<<<<<<< HEAD conda init bash conda activate testenv -======= - conda activate testenv - ->>>>>>> 8fb54db (Merge the action.yml file with the ci.yml file) julia --project=. -e ' using Pkg; ENV["PYTHON"] = joinpath(ENV["HOME"], "miniconda", "envs", "testenv", "bin", "python"); Pkg.build("PyCall"); -<<<<<<< HEAD Pkg.test(; coverage=true) -======= - Pkg.test(; test_args=["--depwarn=error"]) ->>>>>>> 8fb54db (Merge the action.yml file with the ci.yml file) ' shell: bash From 7ce24acac548670910501b619ace2f7d8f558a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Thu, 3 Apr 2025 15:40:17 +0200 Subject: [PATCH 5/8] Check if the issue is with relative pathing and fix documentation --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ .github/workflows/documentation.yml | 22 +++++++++++++++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18597ca..db1f31e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,35 @@ jobs: source "$HOME/miniconda/etc/profile.d/conda.sh" conda init bash conda activate testenv +<<<<<<< HEAD +======= + conda install -c conda-forge poetry -y + + cd "$GITHUB_WORKSPACE/test/python_module" + poetry install + cd "$GITHUB_WORKSPACE" + + git clone https://gitlab.sintef.no/harald.svendsen/timeseries.git + cd "$GITHUB_WORKSPACE/timeseries" + poetry install + cd "$GITHUB_WORKSPACE" + + git clone https://github.com/iDesignRES/Tecnalia.git + cd "$GITHUB_WORKSPACE/Tecnalia/examples/pv_power_plants" + poetry install + cd "$GITHUB_WORKSPACE/Tecnalia/examples/building_energy_process" + poetry install + cd "$GITHUB_WORKSPACE" + + git clone https://github.com/iDesignRES/CHP_modelling.git + cd "$GITHUB_WORKSPACE/CHP_modelling" + mkdir build + cd build + cmake .. + make + cd "$GITHUB_WORKSPACE" + +>>>>>>> fc487c5 (Check if the issue is with relative pathing and fix documentation) julia --project=. -e ' using Pkg; ENV["PYTHON"] = joinpath(ENV["HOME"], "miniconda", "envs", "testenv", "bin", "python"); diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 212f916..922ac9d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -10,7 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: ./.github/actions/before-script - uses: julia-actions/setup-julia@latest with: version: '1' @@ -25,9 +24,30 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key run: | +<<<<<<< HEAD source "$HOME/miniconda/etc/profile.d/conda.sh" conda init bash conda activate testenv +======= + sudo apt-get update -qq + sudo apt-get install -y git glpk-utils g++ cmake wget curl + wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh + bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda + echo "$HOME/miniconda/bin" >> $GITHUB_PATH + source "$HOME/miniconda/etc/profile.d/conda.sh" + conda init bash + + source "$HOME/miniconda/etc/profile.d/conda.sh" + conda create --name testenv python=3.10 -y + conda activate testenv + conda install -c conda-forge poetry -y + + cd "$GITHUB_WORKSPACE" + echo "MAIN_DIR=$(pwd)" >> $GITHUB_ENV + cd test/python_module + poetry install + cd "$MAIN_DIR" +>>>>>>> fc487c5 (Check if the issue is with relative pathing and fix documentation) julia --color=yes --project=docs/ docs/make.jl ' using Pkg; From c170053c09de69f35cef2b7974c4d9f8769b6994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Thu, 3 Apr 2025 15:47:25 +0200 Subject: [PATCH 6/8] Fix relative bash pathings also for documentation.yml --- .github/workflows/ci.yml | 29 ----------------------------- .github/workflows/documentation.yml | 8 +++++--- 2 files changed, 5 insertions(+), 32 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db1f31e..18597ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,35 +43,6 @@ jobs: source "$HOME/miniconda/etc/profile.d/conda.sh" conda init bash conda activate testenv -<<<<<<< HEAD -======= - conda install -c conda-forge poetry -y - - cd "$GITHUB_WORKSPACE/test/python_module" - poetry install - cd "$GITHUB_WORKSPACE" - - git clone https://gitlab.sintef.no/harald.svendsen/timeseries.git - cd "$GITHUB_WORKSPACE/timeseries" - poetry install - cd "$GITHUB_WORKSPACE" - - git clone https://github.com/iDesignRES/Tecnalia.git - cd "$GITHUB_WORKSPACE/Tecnalia/examples/pv_power_plants" - poetry install - cd "$GITHUB_WORKSPACE/Tecnalia/examples/building_energy_process" - poetry install - cd "$GITHUB_WORKSPACE" - - git clone https://github.com/iDesignRES/CHP_modelling.git - cd "$GITHUB_WORKSPACE/CHP_modelling" - mkdir build - cd build - cmake .. - make - cd "$GITHUB_WORKSPACE" - ->>>>>>> fc487c5 (Check if the issue is with relative pathing and fix documentation) julia --project=. -e ' using Pkg; ENV["PYTHON"] = joinpath(ENV["HOME"], "miniconda", "envs", "testenv", "bin", "python"); diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 922ac9d..2ef73f1 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -42,12 +42,14 @@ jobs: conda activate testenv conda install -c conda-forge poetry -y - cd "$GITHUB_WORKSPACE" - echo "MAIN_DIR=$(pwd)" >> $GITHUB_ENV - cd test/python_module + cd "$GITHUB_WORKSPACE/test/python_module" poetry install +<<<<<<< HEAD cd "$MAIN_DIR" >>>>>>> fc487c5 (Check if the issue is with relative pathing and fix documentation) +======= + cd "$GITHUB_WORKSPACE" +>>>>>>> 836dcdc (Fix relative bash pathings also for documentation.yml) julia --color=yes --project=docs/ docs/make.jl ' using Pkg; From ffa3bf5fc046c9c90ef1d9a56deea37adf23b9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Thu, 3 Apr 2025 15:54:27 +0200 Subject: [PATCH 7/8] Check if absolute pathing also works with before_scripting --- .github/workflows/documentation.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 2ef73f1..212f916 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: ./.github/actions/before-script - uses: julia-actions/setup-julia@latest with: version: '1' @@ -24,32 +25,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key run: | -<<<<<<< HEAD source "$HOME/miniconda/etc/profile.d/conda.sh" conda init bash conda activate testenv -======= - sudo apt-get update -qq - sudo apt-get install -y git glpk-utils g++ cmake wget curl - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh - bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda - echo "$HOME/miniconda/bin" >> $GITHUB_PATH - source "$HOME/miniconda/etc/profile.d/conda.sh" - conda init bash - - source "$HOME/miniconda/etc/profile.d/conda.sh" - conda create --name testenv python=3.10 -y - conda activate testenv - conda install -c conda-forge poetry -y - - cd "$GITHUB_WORKSPACE/test/python_module" - poetry install -<<<<<<< HEAD - cd "$MAIN_DIR" ->>>>>>> fc487c5 (Check if the issue is with relative pathing and fix documentation) -======= - cd "$GITHUB_WORKSPACE" ->>>>>>> 836dcdc (Fix relative bash pathings also for documentation.yml) julia --color=yes --project=docs/ docs/make.jl ' using Pkg; From 2a45a6821e9a3155973c0ee8fb06b6d5cfcb3fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vegard=20Ven=C3=A5s?= Date: Tue, 8 Apr 2025 14:44:16 +0200 Subject: [PATCH 8/8] Use the git-submodule feature to create links to used models --- .github/actions/before-script/action.yml | 11 ++++------- .github/workflows/ci.yml | 2 ++ .github/workflows/documentation.yml | 2 ++ .gitmodules | 9 +++++++++ submodules/CHP_modelling | 1 + submodules/Tecnalia | 1 + submodules/wind_power_timeseries | 1 + test/test_CSPandPV.jl | 7 ++----- test/test_bioCHP.jl | 14 +++++++++----- test/test_buildings.jl | 13 ++++++++----- 10 files changed, 39 insertions(+), 22 deletions(-) create mode 100644 .gitmodules create mode 160000 submodules/CHP_modelling create mode 160000 submodules/Tecnalia create mode 160000 submodules/wind_power_timeseries diff --git a/.github/actions/before-script/action.yml b/.github/actions/before-script/action.yml index 42ef6e4..8ecfb55 100644 --- a/.github/actions/before-script/action.yml +++ b/.github/actions/before-script/action.yml @@ -23,20 +23,17 @@ runs: poetry install cd "$GITHUB_WORKSPACE" - git clone https://gitlab.sintef.no/harald.svendsen/timeseries.git - cd "$GITHUB_WORKSPACE/timeseries" + cd "$GITHUB_WORKSPACE/submodules/wind_power_timeseries" poetry install cd "$GITHUB_WORKSPACE" - git clone https://github.com/iDesignRES/Tecnalia.git - cd "$GITHUB_WORKSPACE/Tecnalia/examples/pv_power_plants" + cd "$GITHUB_WORKSPACE/submodules/Tecnalia/examples/pv_power_plants" poetry install - cd "$GITHUB_WORKSPACE/Tecnalia/examples/building_energy_process" + cd "$GITHUB_WORKSPACE/submodules/Tecnalia/examples/building_energy_process" poetry install cd "$GITHUB_WORKSPACE" - git clone https://github.com/iDesignRES/CHP_modelling.git - cd "$GITHUB_WORKSPACE/CHP_modelling" + cd "$GITHUB_WORKSPACE/submodules/CHP_modelling" mkdir build cd build cmake .. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18597ca..fea9768 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,8 @@ jobs: arch: x64 steps: - uses: actions/checkout@v4 + with: + submodules: true # Fetch the submodules - uses: ./.github/actions/before-script - uses: julia-actions/setup-julia@v2 with: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 212f916..d5c701f 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: true # Fetch the submodules - uses: ./.github/actions/before-script - uses: julia-actions/setup-julia@latest with: diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c721335 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,9 @@ +[submodule "submodules/Tecnalia"] + path = submodules/Tecnalia + url = https://github.com/iDesignRES/Tecnalia.git +[submodule "submodules/wind_power_timeseries"] + path = submodules/wind_power_timeseries + url = https://gitlab.sintef.no/harald.svendsen/wind_power_timeseries.git +[submodule "submodules/CHP_modelling"] + path = submodules/CHP_modelling + url = https://github.com/iDesignRES/CHP_modelling.git diff --git a/submodules/CHP_modelling b/submodules/CHP_modelling new file mode 160000 index 0000000..6b0f0f9 --- /dev/null +++ b/submodules/CHP_modelling @@ -0,0 +1 @@ +Subproject commit 6b0f0f98bb9cf366f29c0fb8146f1f4babe28965 diff --git a/submodules/Tecnalia b/submodules/Tecnalia new file mode 160000 index 0000000..3319330 --- /dev/null +++ b/submodules/Tecnalia @@ -0,0 +1 @@ +Subproject commit 33193307f8ae55e6d0429428e464954ee6f80f0d diff --git a/submodules/wind_power_timeseries b/submodules/wind_power_timeseries new file mode 160000 index 0000000..6511abb --- /dev/null +++ b/submodules/wind_power_timeseries @@ -0,0 +1 @@ +Subproject commit 6511abb340cec4e0630e9f8b3e2bbd6d4096d841 diff --git a/test/test_CSPandPV.jl b/test/test_CSPandPV.jl index d803817..1cc5a6f 100644 --- a/test/test_CSPandPV.jl +++ b/test/test_CSPandPV.jl @@ -19,11 +19,8 @@ using Dates T = TwoLevel(sp_duration, operational_periods; op_per_strat = 8760.0) # Load paths to default Buildings process and authentication files - project_path = joinpath(@__DIR__, "..", "Tecnalia") - if !isdir(project_path) - project_path = joinpath(@__DIR__, "..", "..", "Tecnalia") - end - project_path = joinpath(project_path, "examples", "pv_power_plants") + project_path = + joinpath(@__DIR__, "..", "submodules", "Tecnalia", "examples", "pv_power_plants") path_to_auth_file_csp_pv = joinpath(project_path, "auth.json") auth_pay_load_csp_pv = JSON.parsefile(path_to_auth_file_csp_pv) diff --git a/test/test_bioCHP.jl b/test/test_bioCHP.jl index 78eb483..b394980 100644 --- a/test/test_bioCHP.jl +++ b/test/test_bioCHP.jl @@ -40,11 +40,15 @@ using EnergyModelsHeat BioBirchStem => 0.3, BioSpruceTB => 0.4, ) - libpath = joinpath(@__DIR__, "..", "CHP_modelling") - if !isdir(libpath) - libpath = joinpath(@__DIR__, "..", "..", "CHP_modelling") - end - libpath = joinpath(libpath, "build", "lib", "libbioCHP_wrapper.so") + libpath = joinpath( + @__DIR__, + "..", + "submodules", + "CHP_modelling", + "build", + "lib", + "libbioCHP_wrapper.so", + ) bio_chp = BioCHP( "Bio CHP plant", diff --git a/test/test_buildings.jl b/test/test_buildings.jl index 094458f..7500d9a 100644 --- a/test/test_buildings.jl +++ b/test/test_buildings.jl @@ -28,11 +28,14 @@ using Dates T = TwoLevel(sp_duration, operational_periods; op_per_strat = 8760.0) # Load paths to default Buildings process and authentication files - project_path = joinpath(@__DIR__, "..", "Tecnalia") - if !isdir(project_path) - project_path = joinpath(@__DIR__, "..", "..", "Tecnalia") - end - project_path = joinpath(project_path, "examples", "building_energy_process") + project_path = joinpath( + @__DIR__, + "..", + "submodules", + "Tecnalia", + "examples", + "building_energy_process", + ) path_to_auth_file_buildings = joinpath(project_path, "auth.json") auth_pay_load_buildings = JSON.parsefile(path_to_auth_file_buildings)