name: CI-python # Filter CI as this job will take time. on: push: paths: - apis/python/** - binaries/runtime/** pull_request: workflow_dispatch: jobs: examples: name: "Python Examples" runs-on: ubuntu-latest env: SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" CARGO_INCREMENTAL: 0 steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v2 with: python-version: "3.10" - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.3 - name: "Python Dataflow example" run: cargo run --example python-dataflow - name: "Python Operator Dataflow example" run: cargo run --example python-operator-dataflow