Skip to content

🎥 Make videos programmatically with React

more resilient CI

Jonny Burger9dc612c9bb3e
diff --git a/packages/it-tests/src/rendering/rendering.test.ts b/packages/it-tests/src/rendering/rendering.test.ts
index ac83f10773..9c26993349 100644
--- a/packages/it-tests/src/rendering/rendering.test.ts
+++ b/packages/it-tests/src/rendering/rendering.test.ts
@@ -368,7 +368,16 @@ test(
async () => {
const task = await execa(
'bun',
- ['x', 'remotion', 'render', 'build', 'gif', '--frames=0-47', outputPath],
+ [
+ 'x',
+ 'remotion',
+ 'render',
+ 'build',
+ 'gif',
+ '--concurrency=1',
+ '--frames=0-47',
+ outputPath,
+ ],
{
cwd: path.join(process.cwd(), '..', 'example'),
},
@@ -408,7 +417,15 @@ test(
const task = await execa(
'bun',
- ['x', 'remotion', 'render', 'build', 'offline-audio-buffer', out],
+ [
+ 'x',
+ 'remotion',
+ 'render',
+ 'build',
+ '--concurrency=1',
+ 'offline-audio-buffer',
+ out,
+ ],
{
cwd: path.join(process.cwd(), '..', 'example'),
},
@@ -441,7 +458,15 @@ test(
const out = outputPath.replace('.mp4', '.mp3');
const task = await execa(
'bun',
- ['x', 'remotion', 'render', 'build', 'ten-frame-tester', out],
+ [
+ 'x',
+ 'remotion',
+ 'render',
+ 'build',
+ '--concurrency=1',
+ 'ten-frame-tester',
+ out,
+ ],
{
cwd: path.join(process.cwd(), '..', 'example'),
},
@@ -476,6 +501,7 @@ test(
'static-demo',
out,
'--log=verbose',
+ '--concurrency=1',
'--props',
JSON.stringify({flag: true}),
],
@@ -505,6 +531,7 @@ test(
'render',
'build',
'dynamic-duration',
+ '--concurrency=1',
`--props`,
JSON.stringify({duration: randomDuration, offthread: true}),
'--separate-audio-to',
@@ -593,6 +620,7 @@ test(
'x',
'remotion',
'render',
+ '--concurrency=1',
'build',
'Timeout',
outputPath,