File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 4747 go install github.com/dapr/durabletask-go@main
4848 durabletask-go --port 4001 &
4949 tox -e py${{ matrix.python-version }}-e2e
50+ - name : Run examples
51+ run : |
52+ cd examples
53+ durabletask-go --port 4001 &
54+ ./tests.sh
5055 publish :
5156 needs : build
5257 if : startswith(github.ref, 'refs/tags/v')
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -Eeuo pipefail
4+ trap ' exit 1' ERR
5+
6+ # # Activity Sequence
7+ python activity_sequence.py > activity_output
8+ grep " Hello Tokyo!" activity_output
9+
10+
11+ # # Fan Out/Fan In
12+ python fanout_fanin.py > fanout_fanin_output
13+ grep " Orchestration completed! Result" fanout_fanin_output
14+
15+ # # Wait for Event
16+ { sleep 2; printf ' \n' ; } | python human_interaction.py --timeout 20 --approver PYTHON-CI > human_interaction_ouptput
17+ grep " Orchestration completed! Result: \" Approved by 'PYTHON-CI'\" " human_interaction_ouptput
18+
19+
Original file line number Diff line number Diff line change 1+ """
2+ Copyright 2025 The Dapr Authors
3+ Licensed under the Apache License, Version 2.0 (the "License");
4+ you may not use this file except in compliance with the License.
5+ You may obtain a copy of the License at
6+ http://www.apache.org/licenses/LICENSE-2.0
7+ Unless required by applicable law or agreed to in writing, software
8+ distributed under the License is distributed on an "AS IS" BASIS,
9+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+ See the License for the specific language governing permissions and
11+ limitations under the License.
12+ """
13+
114from collections import namedtuple
215from dataclasses import dataclass
316from types import SimpleNamespace
You can’t perform that action at this time.
0 commit comments