Browse Source

Add Ci/CD on custom conda env for operator

tags/v0.3.3
haixuanTao 1 year ago
parent
commit
c19658d4a0
2 changed files with 7 additions and 1 deletions
  1. +4
    -0
      .github/workflows/ci.yml
  2. +3
    -1
      examples/python-operator-dataflow/dataflow.yml

+ 4
- 0
.github/workflows/ci.yml View File

@@ -141,7 +141,11 @@ jobs:
python-version: "3.10"
- name: "Python Dataflow example"
run: cargo run --example python-dataflow
- uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: false
- name: "Python Operator Dataflow example"
shell: bash -l {0}
run: cargo run --example python-operator-dataflow

# ROS2 bridge examples


+ 3
- 1
examples/python-operator-dataflow/dataflow.yml View File

@@ -19,7 +19,9 @@ nodes:

- id: plot
operator:
python: plot.py
python:
source: plot.py
conda_env: base
inputs:
image: webcam/image
bbox: object_detection/bbox


Loading…
Cancel
Save