databricks/run-notebook

Push not working with local-notebook-path

Closed this issue · 1 comments

I wanted to use Git repo: RafiKurlansik/eda-devx-techsummit-fy23 to test Github actions- push of Databricks/Run-Notebook. I ran through the test – git actions: pull request without any problems. However, I created the Yaml files for push, ran the push, and got the error below.

!cp ../requirements.txt ~/.
%pip install -r ~/requirements.txt
cp: cannot stat '../requirements.txt': No such file or directory Python interpreter will be restarted. 
ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/home/spark-d8b83bbd-3f91-49cd-929c-3e/requirements.txt'

After the checkout action in the Yaml, I did list the folder in the Ubuntu VM, and the requirement.txt was there.
Also, I changed local-notebook-path to workspace-notebook-path in the Yaml file, ran the test, and it worked fine.
How do I fix it if I want to run the test with local-notebook-path?

I got it fixed.