Skip to content

Commit cf91fcc

Browse files
committed
ci: align ci titles
1 parent bc2b6de commit cf91fcc

File tree

1 file changed

+41
-10
lines changed

1 file changed

+41
-10
lines changed

.github/workflows/run_tests.yml

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,12 @@ jobs:
6060
--exclude "getstream/feeds/feeds.py" \
6161
--exclude "getstream/stream.py"
6262
63-
test:
64-
name: Test "${{ inputs.marker }}"
63+
# ── Non-video tests (chat, feeds, etc.) ────────────────────────────
64+
# Uses STREAM_CHAT_* credentials which do NOT have video enabled.
65+
# If you add a new video-related test file, add it to the ignore
66+
# list below AND to the test-video job.
67+
test-non-video:
68+
name: Non-video tests (${{ matrix.python-version }})
6569
environment:
6670
name: ci
6771
runs-on: ubuntu-latest
@@ -77,32 +81,59 @@ jobs:
7781
uses: ./.github/actions/python-uv-setup
7882
with:
7983
python-version: ${{ matrix.python-version }}
80-
- name: Run non-video tests
84+
- name: Run tests
8185
env:
8286
STREAM_API_KEY: ${{ vars.STREAM_CHAT_API_KEY }}
8387
STREAM_API_SECRET: ${{ secrets.STREAM_CHAT_API_SECRET }}
8488
STREAM_BASE_URL: ${{ vars.STREAM_CHAT_BASE_URL }}
8589
run: |
8690
uv run pytest -m "${{ inputs.marker }}" tests/ getstream/ \
91+
--ignore=getstream/video \
8792
--ignore=tests/rtc \
93+
--ignore=tests/test_audio_stream_track.py \
94+
--ignore=tests/test_connection_manager.py \
95+
--ignore=tests/test_connection_utils.py \
96+
--ignore=tests/test_signaling.py \
97+
--ignore=tests/test_tracing_jaeger_manual.py \
8898
--ignore=tests/test_video_examples.py \
8999
--ignore=tests/test_video_integration.py \
90100
--ignore=tests/test_video_openai.py \
91-
--ignore=tests/test_signaling.py \
92-
--ignore=tests/test_audio_stream_track.py \
93-
--ignore=getstream/video
94-
- name: Run video tests
101+
--ignore=tests/test_webrtc_generation.py
102+
103+
# ── Video tests (video-enabled credentials) ─────────────────────
104+
# Uses STREAM_* credentials which have video enabled.
105+
test-video:
106+
name: Video tests (${{ matrix.python-version }})
107+
environment:
108+
name: ci
109+
runs-on: ubuntu-latest
110+
strategy:
111+
fail-fast: false
112+
matrix:
113+
python-version: ["3.10", "3.11", "3.12", "3.13"]
114+
timeout-minutes: 30
115+
steps:
116+
- name: Checkout
117+
uses: actions/checkout@v5
118+
- name: Install dependencies
119+
uses: ./.github/actions/python-uv-setup
120+
with:
121+
python-version: ${{ matrix.python-version }}
122+
- name: Run tests
95123
env:
96124
STREAM_API_KEY: ${{ vars.STREAM_API_KEY }}
97125
STREAM_API_SECRET: ${{ secrets.STREAM_API_SECRET }}
98126
STREAM_BASE_URL: ${{ vars.STREAM_BASE_URL }}
99127
run: |
100128
uv run pytest -m "${{ inputs.marker }}" \
129+
getstream/video \
101130
tests/rtc \
131+
tests/test_audio_stream_track.py \
132+
tests/test_connection_manager.py \
133+
tests/test_connection_utils.py \
134+
tests/test_signaling.py \
102135
tests/test_video_examples.py \
103136
tests/test_video_integration.py \
104137
tests/test_video_openai.py \
105-
tests/test_signaling.py \
106-
tests/test_audio_stream_track.py \
107-
getstream/video
138+
tests/test_webrtc_generation.py
108139

0 commit comments

Comments
 (0)