Skip to content

Update GetImageBlob/GetImagesBlob to return error as second element (… #165

Update GetImageBlob/GetImagesBlob to return error as second element (…

Update GetImageBlob/GetImagesBlob to return error as second element (… #165

Workflow file for this run

name: Test
on:
push:
tags:
- "*"
branches-ignore:
- 'exp_*'
pull_request:
branches-ignore:
- 'exp_*'
jobs:
test:
name: Test ImageMagick6 linux
runs-on: ubuntu-latest
environment: imagemagick6
env:
DOCKER_IMAGE: gographics/imagick.v2:im-${{ vars.IMAGEMAGICK6_VERSION }}
# We want to run on external PRs, but not on our own internal PRs as they'll be run
# by the push to the branch.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: |
docker run --rm \
-v $PWD:/go/projects/imagick \
-v $PWD/.cache/go-build:/root/.cache/go-build \
-v $PWD/.cache/go/pkg:/go/pkg \
"$DOCKER_IMAGE"