Skip to content

Commit

Permalink
Add Ci/CD on custom conda env for operator
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Apr 10, 2024
1 parent 15af539 commit c19658d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion examples/python-operator-dataflow/dataflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c19658d

Please sign in to comment.