@@ -119,12 +119,12 @@ test: ## Run all pytest tests for the nemo_safe_synthesizer package
119119 $(PYTEST_CMD ) -m " unit and not slow"
120120
121121.PHONY : test-slow
122- test-slow : # # Run all pytest tests for the nemo_safe_synthesizer package
122+ test-slow : # # Run all pytest tests for the nemo_safe_synthesizer package including slow tests
123123 pushd $(NSS_ROOT_PATH ) && \
124124 $(PYTEST_CMD ) $(NSS_ROOT_PATH ) /tests -m " not e2e" --run-slow
125125
126126.PHONY : test-ci
127- test-ci : # # Run all pytest tests for the nemo_safe_synthesizer package in CI
127+ test-ci : # # Run all pytest tests for the nemo_safe_synthesizer package in CI excluding slow tests
128128 pushd $(NSS_ROOT_PATH ) && \
129129 $(PYTEST_CMD ) $(PYTEST_CI_OPTS ) $(NSS_ROOT_PATH ) /tests -m " not e2e and not gpu_integration and not slow"
130130
@@ -157,7 +157,8 @@ RSYNC_EXCLUDES :=
157157--exclude='.pytest_cache' \
158158--exclude='.envrc' \
159159--exclude='.venv' \
160- --exclude='.ruff_cache' \
160+ --exclude='*.pycache.*' \
161+ --exclude='.cursor'
161162
162163RSYNC_METAFILES_EXCLUDES :=
163164--exclude ='Makefile' \
@@ -187,6 +188,23 @@ ifndef MR
187188endif
188189 bash tools/sync-from-mr.sh $(MR)
189190
191+ synchronize-py-files-from-nmp : # # Synchronize the python files with the nmp package
192+ @echo " ~~~~~~"
193+ @echo " synchronizing the python files with the nmp package"
194+ ifeq ($(NMP_REPO_PATH ) ,)
195+ @echo "~~~~~~"
196+ @echo "NMP_REPO_PATH is not set"
197+ @echo "please set the NMP_REPO_PATH environment variable"
198+ @echo "NMP_REPO_PATH is the root path of the nmp package"
199+ @exit 1
200+ endif
201+ @echo "~~~~~~"
202+ $(RSYNC_CMD) \
203+ $(NMP_REPO_PATH)/packages/nemo_safe_synthesizer/src/ $(NSS_ROOT_PATH)/src/
204+ $(RSYNC_CMD) \
205+ $(NMP_REPO_PATH)/packages/nemo_safe_synthesizer/tests/ $(NSS_ROOT_PATH)/tests/
206+
207+
190208synchronize-py-files-to-nmp : # # Synchronize the python files with the nmp package
191209 @echo " ~~~~~~"
192210 @echo " synchronizing the python files with the nmp package"
0 commit comments