From 6052d620759d804faecfa4defda0497d265fcbf9 Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Fri, 24 May 2024 14:56:42 +0545 Subject: [PATCH] Update test for bitbucket pipeline --- features/scaffold-plugin-tests.feature | 31 ++++++++------------------ features/scaffold-theme-tests.feature | 31 ++++++++------------------ 2 files changed, 18 insertions(+), 44 deletions(-) diff --git a/features/scaffold-plugin-tests.feature b/features/scaffold-plugin-tests.feature index 4b91ae05..c8947776 100644 --- a/features/scaffold-plugin-tests.feature +++ b/features/scaffold-plugin-tests.feature @@ -172,42 +172,29 @@ Feature: Scaffold plugin unit tests And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain: """ - step: - image: php:5.6 - name: "PHP 5.6" + image: php:7.4 + name: "PHP 7.4" script: # Install Dependencies - - docker-php-ext-install mysqli - - apt-get update && apt-get install -y subversion --no-install-recommends + - apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends """ And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain: """ - step: - image: php:7.0 - name: "PHP 7.0" + image: php:8.0 + name: "PHP 8.0" script: # Install Dependencies - - docker-php-ext-install mysqli - - apt-get update && apt-get install -y subversion --no-install-recommends + - apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends """ And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain: """ - step: - image: php:7.1 - name: "PHP 7.1" + image: php:8.2 + name: "PHP 8.2" script: # Install Dependencies - - docker-php-ext-install mysqli - - apt-get update && apt-get install -y subversion --no-install-recommends - """ - And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain: - """ - - step: - image: php:7.2 - name: "PHP 7.2" - script: - # Install Dependencies - - docker-php-ext-install mysqli - - apt-get update && apt-get install -y subversion --no-install-recommends + - apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends """ And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain: """ diff --git a/features/scaffold-theme-tests.feature b/features/scaffold-theme-tests.feature index 2dd059cb..7a4f2ac5 100644 --- a/features/scaffold-theme-tests.feature +++ b/features/scaffold-theme-tests.feature @@ -168,42 +168,29 @@ Feature: Scaffold theme unit tests And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain: """ - step: - image: php:5.6 - name: "PHP 5.6" + image: php:7.4 + name: "PHP 7.4" script: # Install Dependencies - - docker-php-ext-install mysqli - - apt-get update && apt-get install -y subversion --no-install-recommends + - apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends """ And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain: """ - step: - image: php:7.0 - name: "PHP 7.0" + image: php:8.0 + name: "PHP 8.0" script: # Install Dependencies - - docker-php-ext-install mysqli - - apt-get update && apt-get install -y subversion --no-install-recommends + - apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends """ And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain: """ - step: - image: php:7.1 - name: "PHP 7.1" + image: php:8.2 + name: "PHP 8.2" script: # Install Dependencies - - docker-php-ext-install mysqli - - apt-get update && apt-get install -y subversion --no-install-recommends - """ - And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain: - """ - - step: - image: php:7.2 - name: "PHP 7.2" - script: - # Install Dependencies - - docker-php-ext-install mysqli - - apt-get update && apt-get install -y subversion --no-install-recommends + - apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends """ And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain: """