Skip to content

Commit eef121e

Browse files
committed
refactor workflow to simplify working-directory paths for challenge information gathering
1 parent f32afe2 commit eef121e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/run-agent-framework-test.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,26 +80,25 @@ jobs:
8080
bash .github/data/agent-framework/0.setup.sh
8181
8282
- name: Gather challenge information
83-
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}/${{ matrix.challenges.challenge }}
83+
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}
8484
run: |
8585
cat ${{ matrix.challenges.challenge }} | yq .spec.prompt
8686
8787
- name: Gather challenge information
88-
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}/${{ matrix.challenges.challenge }}
88+
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}
8989
run: |
9090
cat ${{ matrix.challenges.challenge }} | yq .spec.prompt
9191
9292
- name: Setup scenario
93-
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}/${{ matrix.challenges.challenge }}
93+
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}
9494
timeout-minutes: 3
9595
env:
9696
CLUSTER_CTX: kind-kagent
9797
run: |
9898
bash "./run.sh"
9999
100-
101100
- name: Run Test
102-
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}
101+
working-directory: .github/data/agent-framework
103102
timeout-minutes: 3
104103
env:
105104
CLUSTER_CTX: kind-kagent
@@ -108,7 +107,7 @@ jobs:
108107
109108
110109
- name: Test final state
111-
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}/${{ matrix.challenges.challenge }}
110+
working-directory: .github/data/agent-framework/${{ matrix.challenges.scenario }}
112111
timeout-minutes: 1
113112
env:
114113
CLUSTER_CTX: kind-kagent

0 commit comments

Comments
 (0)