Skip to content

Commit

Permalink
ci(tests): Get the dcglare test to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Oct 16, 2024
1 parent 5890d24 commit 7a856de
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
wget https://github.com/LBNL-ETA/Radiance/releases/download/rad5R4/Radiance_4ee32974_Linux.zip
unzip Radiance_4ee32974_Linux.zip
tar -xzvf radiance-5.4.4ee32974b1-Linux.tar.gz
sudo cp -r radiance-5.4.4ee32974b1-Linux/usr/local/radiance/bin/* /usr/local/bin
sudo mkdir /usr/local/lib/ray
sudo cp -r radiance-5.4.4ee32974b1-Linux/usr/local/radiance/lib/* /usr/local/lib/ray
sudo mkdir /usr/local/radiance
sudo mkdir /usr/local/radiance/bin
sudo cp -r radiance-5.4.4ee32974b1-Linux/usr/local/radiance/bin/* /usr/local/radiance/bin
sudo mkdir /usr/local/radiance/lib
sudo cp -r radiance-5.4.4ee32974b1-Linux/usr/local/radiance/lib/* /usr/local/radiance/lib
- name: install python dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==8.3.2;python_version>='3.6'
pytest==7.4.4;python_version>='3.6'
Sphinx==8.0.2;python_version>='3.6'
sphinx-bootstrap-theme==0.8.1
sphinxcontrib-fulltoc==1.2.0
Expand Down
4 changes: 2 additions & 2 deletions honeybee_radiance/cli/glare.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def two_phase_command(

# create command.
dcglare = Dcglare(
options=options, output=output, dc_direct=dc_direct, dc_total=dc_total,
sky_matrix=sky_mtx
options=options, output=output,
dc_direct=dc_direct, dc_total=dc_total, sky_matrix=sky_mtx
)

if dry_run:
Expand Down
2 changes: 1 addition & 1 deletion honeybee_radiance/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def _find_radiance_folder():
rad_bin_path = os.environ.get('BINPATH')
if rad_bin_path is not None:
return rad_bin_path

if not rad_path: # no Radiance installations were found
return None

Expand Down

0 comments on commit 7a856de

Please sign in to comment.