| @@ -1,13 +1,18 @@ | |||||
| name: CI-python | name: CI-python | ||||
| # Filter CI as this job will take time. | |||||
| on: | on: | ||||
| push: | push: | ||||
| paths: | |||||
| - apis/python/** | |||||
| - binaries/runtime/** | |||||
| pull_request: | |||||
| branches: | branches: | ||||
| - main | - main | ||||
| paths: | paths: | ||||
| - apis/python | |||||
| - binaries/runtime | |||||
| - apis/python/** | |||||
| - binaries/runtime/** | |||||
| jobs: | jobs: | ||||
| @@ -37,7 +37,7 @@ async fn build_package(package: &str) -> eyre::Result<()> { | |||||
| Ok(()) | Ok(()) | ||||
| } | } | ||||
| async fn install_python_dependencies(root: &Path) -> eyre::Result<()> { | |||||
| async fn install_python_dependencies(_root: &Path) -> eyre::Result<()> { | |||||
| let mut install = tokio::process::Command::new("sh"); | let mut install = tokio::process::Command::new("sh"); | ||||
| install.arg("./install.sh"); | install.arg("./install.sh"); | ||||
| if !install.status().await?.success() { | if !install.status().await?.success() { | ||||