Skip to content

Commit

Permalink
CI: consolidate and simplify APT steps
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Aug 2, 2024
1 parent 8d87f5c commit 5c01af1
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,13 @@ jobs:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Update apt
env:
DEBIAN_FRONTEND: noninteractive
run:
sudo apt-get update -qq -o Acquire::Retries=3

- name: Install libvips
env:
DEBIAN_FRONTEND: noninteractive
run:
run: |
sudo apt-get update
# we only need the library
sudo apt-get install --no-install-recommends --fix-missing -qq -o Acquire::Retries=3
libvips
sudo apt-get install --no-install-recommends libvips
- name: Run Tests
run: bundle exec rake spec

0 comments on commit 5c01af1

Please sign in to comment.