Skip to content

Video editing with Python

Remove imagemagick from ci

osaajani380d97b292be
diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml
index 30f9d0f2..4cd7425f 100644
--- a/.github/workflows/test_suite.yml
+++ b/.github/workflows/test_suite.yml
@@ -32,7 +32,6 @@ jobs:
echo $PYTHONHOME
- name: Install dependencies
run: |
- brew install imagemagick
# needed for installing matplotlib
brew install pkg-config
python -m pip install --upgrade wheel setuptools coveralls
@@ -62,38 +61,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- - name: Get ImageMagick installer from cache
- id: imagemagick-installer-cache
- uses: actions/cache@v3
- with:
- path: |
- ImageMagick.exe
- key: ${{ runner.os }}-latest
-
- - name: Download ImageMagick installer
- shell: cmd
- if: steps.imagemagick-installer-cache.outputs.cache-hit != 'true'
- run: |
- python3 scripts/get-latest-imagemagick-win.py >im-url.txt
- set /p IMAGEMAGICK_URL= <im-url.txt
- rm im-url.txt
- echo %IMAGEMAGICK_URL%
- curl %IMAGEMAGICK_URL% -o ImageMagick.exe
-
- - name: Install ImageMagick
- id: imagemagick-install
- shell: cmd
- run: |
- set IMAGEMAGICK_INSTALL_DIR=%CD%\imagemagick
- mkdir %IMAGEMAGICK_INSTALL_DIR%
- echo %IMAGEMAGICK_INSTALL_DIR%
-
- ImageMagick.exe /SILENT /SP /DIR=%IMAGEMAGICK_INSTALL_DIR%
- dir imagemagick
-
- move imagemagick\ffmpeg.exe ffmpeg.exe
- move imagemagick\magick.exe convert.exe
-
- name: Install Python dependencies
run: |
python -m pip install --upgrade wheel setuptools coveralls
@@ -148,12 +115,6 @@ jobs:
run: |
python -m pip install ".[test, optional, doc]"
- - name: Configure ImageMagick policy
- run: |
- cat /etc/ImageMagick-6/policy.xml \
- | sed 's/none/read,write/g' \
- | sudo tee /etc/ImageMagick-6/policy.xml
-
- name: PyTest
run: |
python -m pytest --doctest-glob "moviepy/**/**.py" --cov moviepy --cov-report term-missing