Skip to content

Commit 3704c80

Browse files
committed
Use smoke tests for most jobs
1 parent af9799f commit 3704c80

4 files changed

Lines changed: 21 additions & 4 deletions

File tree

.github/workflows/linux_aarch64_wheel.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,8 @@ jobs:
107107

108108
- name: Run Python tests
109109
run: |
110-
pytest --override-ini="addopts=-v" test
110+
if [[ "${{ matrix.ffmpeg-version-for-tests }}" == "7" ]]; then
111+
pytest --override-ini="addopts=-v" test
112+
else
113+
pytest --override-ini="addopts=-v" test/smoke_test.py --tb=short
114+
fi

.github/workflows/linux_cuda_aarch64_wheel.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,8 @@ jobs:
113113
run: bash packaging/install_test_dependencies.sh
114114
- name: Run Python tests
115115
run: |
116-
pytest --override-ini="addopts=-v" test
116+
if [[ "${{ matrix.ffmpeg-version-for-tests }}" == "8" ]]; then
117+
pytest --override-ini="addopts=-v" test
118+
else
119+
pytest --override-ini="addopts=-v" test/smoke_test.py --tb=short
120+
fi

.github/workflows/macos_wheel.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,8 @@ jobs:
108108

109109
- name: Run Python tests
110110
run: |
111-
pytest --override-ini="addopts=-v" test
111+
if [[ "${{ matrix.ffmpeg-version-for-tests }}" == "8" ]]; then
112+
pytest --override-ini="addopts=-v" test
113+
else
114+
pytest --override-ini="addopts=-v" test/smoke_test.py --tb=short
115+
fi

.github/workflows/windows_wheel.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,9 @@ jobs:
113113
run: bash packaging/install_test_dependencies.sh
114114

115115
- name: Run Python tests
116-
run: pytest --override-ini="addopts=-v" test
116+
run: |
117+
if [[ "${{ matrix.ffmpeg-version-for-tests }}" == "8" ]]; then
118+
pytest --override-ini="addopts=-v" test
119+
else
120+
pytest --override-ini="addopts=-v" test/smoke_test.py --tb=short
121+
fi

0 commit comments

Comments
 (0)