mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 20:16:45 +00:00
Re-enable Drupal integration tests
This commit is contained in:
+30
-33
@@ -116,36 +116,33 @@ jobs:
|
||||
working-directory: ${{ matrix.extension}}
|
||||
run: ../../vendor/bin/simple-phpunit
|
||||
|
||||
#
|
||||
# Drupal does not support Twig 3 now!
|
||||
#
|
||||
# integration-tests:
|
||||
# needs:
|
||||
# - 'tests'
|
||||
#
|
||||
# name: "Integration tests with PHP ${{ matrix.php-version }}"
|
||||
#
|
||||
# runs-on: 'ubuntu-20.04'
|
||||
#
|
||||
# continue-on-error: true
|
||||
#
|
||||
# strategy:
|
||||
# matrix:
|
||||
# php-version:
|
||||
# - '7.3'
|
||||
#
|
||||
# steps:
|
||||
# - name: "Checkout code"
|
||||
# uses: actions/checkout@v3
|
||||
#
|
||||
# - name: "Install PHP with extensions"
|
||||
# uses: shivammathur/setup-php@2
|
||||
# with:
|
||||
# coverage: "none"
|
||||
# extensions: "gd, pdo_sqlite"
|
||||
# php-version: ${{ matrix.php-version }}
|
||||
# ini-values: memory_limit=-1
|
||||
# tools: composer:v2
|
||||
#
|
||||
# - run: bash ./tests/drupal_test.sh
|
||||
# shell: "bash"
|
||||
integration-tests:
|
||||
needs:
|
||||
- 'tests'
|
||||
|
||||
name: "Integration tests with PHP ${{ matrix.php-version }}"
|
||||
|
||||
runs-on: 'ubuntu-latest'
|
||||
|
||||
continue-on-error: true
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
php-version:
|
||||
- '8.2'
|
||||
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: "Install PHP with extensions"
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
coverage: "none"
|
||||
extensions: "gd, pdo_sqlite"
|
||||
php-version: ${{ matrix.php-version }}
|
||||
ini-values: memory_limit=-1
|
||||
tools: composer:v2
|
||||
|
||||
- run: bash ./tests/drupal_test.sh
|
||||
shell: "bash"
|
||||
|
||||
@@ -6,7 +6,7 @@ set -e
|
||||
REPO=`pwd`
|
||||
cd /tmp
|
||||
rm -rf drupal-twig-test
|
||||
composer create-project --no-interaction drupal/recommended-project:9.1.x-dev drupal-twig-test
|
||||
composer create-project --no-interaction drupal/recommended-project:10.1.x-dev drupal-twig-test
|
||||
cd drupal-twig-test
|
||||
(cd vendor/twig && rm -rf twig && ln -sf $REPO twig)
|
||||
php ./web/core/scripts/drupal install --no-interaction demo_umami > output
|
||||
|
||||
Reference in New Issue
Block a user