Skip to content

Commit

Permalink
Merge pull request #1314 from RWTH-EBC/Issue1313_fix_RegressionTest_C…
Browse files Browse the repository at this point in the history
…heck_References

fix job RegressionTest_Check_References
  • Loading branch information
SvenHinrichs authored Jul 26, 2022
2 parents 16f90cd + 41fc1e0 commit 50ac0f0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
last-generated=2020-11-26
last-generated=2022-07-25
statistics-simulation=
{
"linear": " ",
Expand Down
1 change: 1 addition & 0 deletions bin/CITests/02_UnitTests/reference_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def _create_reference_results(self): # creates reference files that do not yet
else:
print(f'{self.green}New reference results in package: {self.CEND} {package}\n')
continue
exit(1)
else:
ex_file = open(self.exit_file, "w")
ex_file.write("#!/bin/bash" + "\n" + "\n" + "exit 0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,10 @@ RegressionTest_Check_References:
before_script:
- export PIP_CACHE_DIR="/opt/cache/pip"
- source activate myenv
- export PYTHONIOENCODING=utf-8 # just in case
- pip install --upgrade git+https://github.com/MichaMans/BuildingsPy@testexamplescoverage
- apt-get update -y && apt-get install xdg-utils --fix-missing -y
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- export PYTHONIOENCODING=utf-8 # just in case
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- ssh-keyscan github.com >> ~/.ssh/known_hosts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,10 @@ RegressionTest_Check_References:
before_script:
- export PIP_CACHE_DIR="/opt/cache/pip"
- source activate ${python_version}
- export PYTHONIOENCODING=utf-8 # just in case
- pip install --upgrade git+https://github.com/MichaMans/BuildingsPy@testexamplescoverage
- apt-get update -y && apt-get install xdg-utils --fix-missing -y
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- export PYTHONIOENCODING=utf-8 # just in case
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- ssh-keyscan github.com >> ~/.ssh/known_hosts
Expand Down

0 comments on commit 50ac0f0

Please sign in to comment.