Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Make the VIPS installation on CI minimal to speed up tests (#13998)

Damian Legawiecd5eb4dabf37f
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index f590eca6c4..a35d23513c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -42,6 +42,12 @@ jobs:
restore-keys: |
gems-${{ runner.os }}-ruby4.0-postgres-
+ - name: Install libvips
+ uses: awalsh128/cache-apt-pkgs-action@v1
+ with:
+ packages: libvips42t64
+ version: 1
+
- name: Install root dependencies
working-directory: spree
run: |
@@ -81,6 +87,12 @@ jobs:
restore-keys: |
gems-${{ runner.os }}-ruby4.0-mysql-
+ - name: Install libvips
+ uses: awalsh128/cache-apt-pkgs-action@v1
+ with:
+ packages: libvips42t64
+ version: 1
+
- name: Install root dependencies
working-directory: spree
run: |
@@ -171,7 +183,10 @@ jobs:
gems-${{ runner.os }}-ruby4.0-postgres-
- name: Install libvips
- run: sudo apt-get update && sudo apt-get install -y libvips-dev
+ uses: awalsh128/cache-apt-pkgs-action@v1
+ with:
+ packages: libvips42t64
+ version: 1
- name: Install dependencies
run: |
@@ -306,7 +321,10 @@ jobs:
gems-${{ runner.os }}-ruby4.0-mysql-
- name: Install libvips
- run: sudo apt-get update && sudo apt-get install -y libvips-dev
+ uses: awalsh128/cache-apt-pkgs-action@v1
+ with:
+ packages: libvips42t64
+ version: 1
- name: Install dependencies
run: |