Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/operator-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,14 @@ jobs:
uv pip install ".[dev]"

echo "Installing Operator system level packages"
echo "Installing ffmpeg..."
echo "Installing ffmpeg and tesseract-ocr..."
sudo apt-get update > /dev/null
sudo apt-get install -y ffmpeg > /dev/null
sudo apt-get install -y tesseract-ocr tesseract-ocr-hin tesseract-ocr-tam tesseract-ocr-tel > /dev/null
echo "ffmpeg version:"
ffmpeg -version
echo "tesseract version:"
tesseract --version

- name: Run tests for changed operators
if: steps.check-changes.outputs.has_changes == 'true'
Expand Down Expand Up @@ -169,6 +172,13 @@ jobs:
sudo apt-get autoremove -y > /dev/null
echo "FFmpeg removed"

# Remove tesseract-ocr
echo "----------------------------------------"
echo "Removing tesseract-ocr..."
sudo apt-get remove -y tesseract-ocr tesseract-ocr-hin tesseract-ocr-tam tesseract-ocr-tel > /dev/null
sudo apt-get autoremove -y > /dev/null
echo "Tesseract removed"

echo "----------------------------------------"
echo "Cleanup completed"
echo "----------------------------------------"
Loading