Skip to content

Commit 4d4198f

Browse files
committed
ci: pass API key secret and limit parallel runs to prevent server timeout
1 parent fcb4f53 commit 4d4198f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212

1313
strategy:
1414
fail-fast: false
15+
max-parallel: 1
1516
matrix:
1617
python-version: ["3.9", "3.10", "3.11", "3.12"]
1718

@@ -23,7 +24,7 @@ jobs:
2324
uses: actions/setup-python@v5
2425
with:
2526
python-version: ${{ matrix.python-version }}
26-
cache: 'pip' # Speeds up subsequent runs by caching dependencies
27+
cache: 'pip'
2728

2829
- name: Upgrade pip
2930
run: python -m pip install --upgrade pip
@@ -38,6 +39,8 @@ jobs:
3839
run: python -c "import intent_bus; print('SDK Import: OK')"
3940

4041
- name: Run pytest
42+
env:
43+
INTENT_API_KEY: ${{ secrets.INTENT_API_KEY }}
4144
run: |
4245
if [ -d tests ]; then
4346
pytest tests/ -v

0 commit comments

Comments
 (0)