Skip to content

Commit 5ebbaa3

Browse files
committed
Merge branch 'main' of github.com:meta-pytorch/torchcodec into test-all-configs
2 parents be3ba4c + 80e0f95 commit 5ebbaa3

4 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/linux_aarch64_wheel.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ jobs:
105105
- name: Install test dependencies
106106
run: bash packaging/install_test_dependencies.sh
107107

108+
- name: Run Python smoke tests
109+
run: |
110+
pytest --override-ini="addopts=-v" test/smoke_test.py --tb=short
111+
108112
- name: Run Python tests
113+
if: ${{ matrix.ffmpeg-version-for-tests == '7' && !startsWith(github.ref, 'refs/heads/release/') }}
109114
run: |
110115
pytest --override-ini="addopts=-v" test

.github/workflows/linux_cuda_aarch64_wheel.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ jobs:
111111
112112
- name: Install test dependencies
113113
run: bash packaging/install_test_dependencies.sh
114+
- name: Run Python smoke tests
115+
run: |
116+
pytest --override-ini="addopts=-v" test/smoke_test.py --tb=short
117+
114118
- name: Run Python tests
119+
if: ${{ matrix.ffmpeg-version-for-tests == '8' && !startsWith(github.ref, 'refs/heads/release/') }}
115120
run: |
116121
pytest --override-ini="addopts=-v" test

.github/workflows/macos_wheel.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ jobs:
106106
- name: Install test dependencies
107107
run: bash packaging/install_test_dependencies.sh
108108

109+
- name: Run Python smoke tests
110+
run: |
111+
pytest --override-ini="addopts=-v" test/smoke_test.py --tb=short
112+
109113
- name: Run Python tests
114+
if: ${{ matrix.ffmpeg-version-for-tests == '8' && !startsWith(github.ref, 'refs/heads/release/') }}
110115
run: |
111116
pytest --override-ini="addopts=-v" test

.github/workflows/windows_wheel.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,11 @@ jobs:
112112
- name: Install test dependencies
113113
run: bash packaging/install_test_dependencies.sh
114114

115+
- name: Run Python smoke tests
116+
run: |
117+
pytest --override-ini="addopts=-v" test/smoke_test.py --tb=short
118+
115119
- name: Run Python tests
116-
run: pytest --override-ini="addopts=-v" test
120+
if: ${{ matrix.ffmpeg-version-for-tests == '8' && !startsWith(github.ref, 'refs/heads/release/') }}
121+
run: |
122+
pytest --override-ini="addopts=-v" test

0 commit comments

Comments
 (0)