Skip to content

Commit

Permalink
AO3-6824 Install imagemagick in automated tests (#4941)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilka2 authored Oct 15, 2024
1 parent 7fb763a commit 766898d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,22 @@ jobs:
arguments: db:otwseed
- command: rspec
arguments: spec/controllers
imagemagick: true
- command: rspec
arguments: spec/models
imagemagick: true
- command: rspec
arguments: --exclude-pattern 'spec/{controllers,models}/**/*.rb'
imagemagick: true
- command: cucumber
arguments: features/admins
imagemagick: true
- command: cucumber
arguments: features/bookmarks
imagemagick: true
- command: cucumber
arguments: features/collections
imagemagick: true
- command: cucumber
arguments: features/comments_and_kudos
- command: cucumber
Expand All @@ -73,8 +79,10 @@ jobs:
vcr: true
- command: cucumber
arguments: features/other_a
imagemagick: true
- command: cucumber
arguments: features/other_b
imagemagick: true
- command: cucumber
arguments: features/prompt_memes_a
- command: cucumber
Expand All @@ -92,6 +100,7 @@ jobs:
- command: cucumber
arguments: features/works
ebook: true
imagemagick: true

steps:
- name: Check out code
Expand Down Expand Up @@ -129,6 +138,10 @@ jobs:
restore-keys: |
cassette-library-${{ hashFiles(matrix.tests.arguments) }}-
- name: Install imagemagick for image processing
if: ${{ matrix.tests.imagemagick }}
run: sudo apt-get install -y imagemagick

- name: Set up Ruby and run bundle install
uses: ruby/setup-ruby@v1
with:
Expand Down

0 comments on commit 766898d

Please sign in to comment.