File tree Expand file tree Collapse file tree 6 files changed +2
-25
lines changed
Expand file tree Collapse file tree 6 files changed +2
-25
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [ main ]
66 pull_request :
7- paths :
8- - src/torchcodec/*
9- - test/*
10- - .github/workflows/cpp_tests.yaml # self reference
117
128concurrency :
139 group : unit-test${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }}
Original file line number Diff line number Diff line change 44 push :
55 branches : [ main ]
66 pull_request :
7- paths :
8- - src/torchcodec/*
9- - docs/*
10- - .github/workflows/docs.yaml # self reference
117
128permissions :
139 id-token : write
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ name: Build and test Linux CUDA wheels
22
33on :
44 pull_request :
5- paths :
6- - src/torchcodec/*
7- - benchmarks/*
8- - packaging/*
9- - test/*
10- - .github/workflows/linux_cuda_wheel.yaml # self reference
115 push :
126 branches :
137 - nightly
Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ name: Build and test Linux wheel
22
33on :
44 pull_request :
5- paths :
6- - src/torchcodec/*
7- - packaging/*
8- - test/*
9- - .github/workflows/linux_wheel.yaml # self reference
105 push :
116 branches :
127 - nightly
Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ name: Build and test MacOS wheel
22
33on :
44 pull_request :
5- paths :
6- - src/torchcodec/*
7- - packaging/*
8- - test/*
9- - .github/workflows/macos_wheel.yaml # self reference
105 push :
116 branches :
127 - nightly
Original file line number Diff line number Diff line change @@ -496,7 +496,8 @@ def run_batch_using_threads(
496496 for _ in range (batch_parameters .batch_size ):
497497 futures .append (executor .submit (function , * args ))
498498 for f in futures :
499- assert f .result ()
499+ # TODO: Add a stronger check here based on arguments to the function.
500+ assert len (f .result ()) > 0
500501 executor .shutdown (wait = True )
501502
502503
You can’t perform that action at this time.
0 commit comments