Skip to content

Commit 981b4b4

Browse files
committed
debug - litellm integ test
1 parent ecc6a70 commit 981b4b4

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/integration-test.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ name: Secure Integration test
33
on:
44
pull_request_target:
55
branches: main
6-
6+
77
jobs:
88
authorization-check:
99
permissions: read-all
1010
runs-on: ubuntu-latest
11-
outputs:
11+
outputs:
1212
approval-env: ${{ steps.collab-check.outputs.result }}
1313
steps:
1414
- name: Collaborator Check
1515
uses: actions/github-script@v7
1616
id: collab-check
1717
with:
1818
result-encoding: string
19-
script: |
19+
script: |
2020
try {
2121
const permissionResponse = await github.rest.repos.getCollaboratorPermissionLevel({
2222
owner: context.repo.owner,
@@ -31,7 +31,7 @@ jobs:
3131
} else {
3232
console.log(`Verifed ${context.payload.pull_request.user.login} has write access. Auto Approving PR Checks.`)
3333
return "auto-approve"
34-
}
34+
}
3535
} catch (error) {
3636
console.log(`${context.payload.pull_request.user.login} does not have write access. Requiring Manual Approval to run PR Checks.`)
3737
return "manual-approval"
@@ -45,9 +45,9 @@ jobs:
4545
pull-requests: read
4646
contents: read
4747
steps:
48-
- name: Configure Credentials
48+
- name: Configure Credentials
4949
uses: aws-actions/configure-aws-credentials@v4
50-
with:
50+
with:
5151
role-to-assume: ${{ secrets.STRANDS_INTEG_TEST_ROLE }}
5252
aws-region: us-east-1
5353
mask-aws-account-id: true
@@ -69,6 +69,4 @@ jobs:
6969
AWS_REGION_NAME: us-east-1 # Needed for LiteLLM
7070
id: tests
7171
run: |
72-
hatch test tests-integ
73-
74-
72+
hatch test tests-integ/test_model_litellm.py::test_agent

0 commit comments

Comments
 (0)