Skip to content

Commit

Permalink
Merge pull request #111 from NREL/SkipAPIForNow
Browse files Browse the repository at this point in the history
Cleanups, also skip files in the testfiles/API folder
  • Loading branch information
Myoldmopar committed Jul 9, 2024
2 parents 515377f + 2f1ad3c commit b4477c8
Show file tree
Hide file tree
Showing 14 changed files with 181 additions and 1,319 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
unit_tests:
strategy:
matrix:
os: [ windows-latest, macos-11, ubuntu-22.04 ] # macos-12 is not playing well with Tk
os: [ windows-latest, macos-latest, ubuntu-22.04 ] # macos-12 is not playing well with Tk
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v2
Expand Down
2 changes: 1 addition & 1 deletion energyplus_regressions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NAME = 'energyplus_regressions'
VERSION = '2.0.6'
VERSION = '2.0.7'
289 changes: 0 additions & 289 deletions energyplus_regressions/build_files_to_run.py

This file was deleted.

9 changes: 5 additions & 4 deletions energyplus_regressions/builds/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ def get_idfs_in_dir(idf_dir: Path) -> Set[Path]:
]

def should_keep(file_path):
should_ignore = False
for i in known_ignore_list:
if i in str(file_path):
should_ignore = True
break
return not should_ignore
return False
if 'API' in file_path.parts:
# the testfiles/API directory is for Python API calls, we aren't doing that here, yet.
return False
return True

filtered_list = filter(should_keep, all_idfs_relative_path)
return set(filtered_list)
Expand Down
Loading

0 comments on commit b4477c8

Please sign in to comment.