Skip to content

Commit b5482da

Browse files
committed
debugging
1 parent 9a36e45 commit b5482da

File tree

3 files changed

+1031
-1020
lines changed

3 files changed

+1031
-1020
lines changed

.github/workflows/run_tests.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,24 @@ jobs:
4343
STREAM_API_KEY: ${{ secrets.STREAM_API_KEY }}
4444
STREAM_API_SECRET: ${{ secrets.STREAM_API_SECRET }}
4545
XAI_API_KEY: ${{ secrets.XAI_API_KEY }}
46-
AWS_BEARER_TOKEN_BEDROCK: ${{ secrets.AWS_BEARER_TOKEN_BEDROCK }}
46+
AWS_BEARER_TOKEN_BEDROCK: "${{ secrets.AWS_BEARER_TOKEN_BEDROCK }}"
47+
_BEARER_TOKEN_BEDROCK: "${{ secrets.AWS_BEARER_TOKEN_BEDROCK }}"
4748
timeout-minutes: 30
4849
steps:
4950
- name: Checkout
5051
uses: actions/checkout@v5
5152
- uses: ./.github/actions/python-uv-setup
53+
- name: Export AWS_BEARER_TOKEN_BEDROCK (heredoc)
54+
shell: bash
55+
run: |
56+
{
57+
echo 'AWS_BEARER_TOKEN_BEDROCK<<EOF'
58+
echo "${{ secrets.AWS_BEARER_TOKEN_BEDROCK }}"
59+
echo 'EOF'
60+
} >> "$GITHUB_ENV"
61+
62+
- name: Verify presence
63+
run: uv run python -c "import os; v=os.getenv('AWS_BEARER_TOKEN_BEDROCK'); print('exists', v is not None, 'len', 0 if v is None else len(v))"
5264
- name: Run test
5365
run: uv run pytest -n auto -m "${{ inputs.marker }}"
5466
- name: Run plugin test

0 commit comments

Comments
 (0)