We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3fff77 commit ecff191Copy full SHA for ecff191
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ run-scenarios:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v5
17
+ with:
18
+ python-version: '3.11'
19
+ cache: 'pip'
20
21
+ - name: Install dependencies
22
+ run: |
23
+ pip install --upgrade pip
24
+ pip install -r requirements.txt
25
26
+ - name: Run normal_success scenario
27
+ run: python run_demo.py --scenario normal_success
28
29
+ - name: Run retry_then_success scenario
30
+ run: python run_demo.py --scenario retry_then_success
31
32
+ - name: Run fallback_after_failure scenario
33
+ run: python run_demo.py --scenario fallback_after_failure
0 commit comments