Added new yml
This commit is contained in:
@@ -20,17 +20,23 @@ pipeline {
|
||||
# Create a virtual environment named 'venv'
|
||||
python3 -m venv venv
|
||||
|
||||
# Activate it and install your packages
|
||||
# Activate the virtual environment
|
||||
. venv/bin/activate
|
||||
|
||||
# Upgrade pip to ensure we have the latest version
|
||||
pip install --upgrade pip
|
||||
|
||||
# Install required packages
|
||||
pip install -U atproto tweety-ns playwright httpx arrow python-dotenv moviepy
|
||||
|
||||
# Check if moviepy is installed
|
||||
pip list | grep moviepy || { echo 'MoviePy installation failed!'; exit 1; }
|
||||
|
||||
# Check if FFmpeg is installed
|
||||
ffmpeg -version || { echo 'FFmpeg is not installed!'; exit 1; }
|
||||
|
||||
# Check if moviepy is installed
|
||||
python3 -c "import moviepy.editor" || { echo 'MoviePy installation failed!'; exit 1; }
|
||||
# Verify that moviepy can be imported
|
||||
python3 -c "import moviepy.editor" || { echo 'MoviePy import failed!'; exit 1; }
|
||||
|
||||
# Install the local browser binaries for this environment
|
||||
playwright install chromium
|
||||
|
||||
Reference in New Issue
Block a user