Browse Source

Fix CI filter pattern and clippy warning

tags/v0.0.0-test.4
haixuanTao 3 years ago
parent
commit
8d66e35add
2 changed files with 8 additions and 3 deletions
  1. +7
    -2
      .github/workflows/ci-python.yml
  2. +1
    -1
      examples/python-dataflow/run.rs

+ 7
- 2
.github/workflows/ci-python.yml View File

@@ -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:




+ 1
- 1
examples/python-dataflow/run.rs View File

@@ -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() {


Loading…
Cancel
Save