Skip to content

Commit

Permalink
Add cached resolver to build deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScheller committed Oct 30, 2023
1 parent d9b2fc8 commit 08d366b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_houdini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
- name: Build USD Python Resolver
run: |
.github/scripts/houdini_build.sh pythonResolver
- name: Build USD Cached Resolver
run: |
.github/scripts/houdini_build.sh cachedResolver
- name: Build USD Http Resolver
run: |
.github/scripts/houdini_build.sh httpResolver
Expand Down Expand Up @@ -100,6 +103,9 @@ jobs:
- name: Build USD Python Resolver
run: |
.\.github\scripts\houdini_build.bat pythonResolver
- name: Build USD Cached Resolver
run: |
.\.github\scripts\houdini_build.bat cachedResolver
- name: Build USD Http Resolver
run: |
.\.github\scripts\houdini_build.bat httpResolver
Expand Down
4 changes: 2 additions & 2 deletions src/CachedResolver/PythonExpose.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class UnitTestHelper:
current_directory_path = ""

@classmethod
def reset(cls):
def reset(cls, current_directory_path=""):
cls.context_initialize_call_counter = 0
cls.resolve_and_cache_call_counter = 0
cls.current_directory_path = ""
cls.current_directory_path = current_directory_path

class ResolverContext:
@staticmethod
Expand Down

0 comments on commit 08d366b

Please sign in to comment.