Skip to content
Snippets Groups Projects
Commit b01796c9 authored by Christian Fritsch's avatar Christian Fritsch
Browse files

Issue #3267555 by chr.fritsch, daniel.bosen: Increase IEF version

parent 7814f11c
Branches
Tags 1.0.0-beta9
1 merge request!6fix: increase version requirements
name: Run module tests
on:
pull_request:
paths-ignore:
- '**.md'
schedule:
- cron: '0 6 * * *'
env:
DRUPAL_TESTING_TEST_CODING_STYLES: false
DRUPAL_TESTING_DATABASE_USER: root
DRUPAL_TESTING_DATABASE_PASSWORD: root
DRUPAL_TESTING_DATABASE_ENGINE: mysql
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
DRUPAL_TESTING_DRUPAL_VERSION: ['9.2.x-dev']
PHP: ['7.4']
steps:
- uses: actions/checkout@v1
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.PHP }}
- name: Start MySql service
run: sudo /etc/init.d/mysql start
- name: Cache composer dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-cache-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-cache-
- name: Get build environment
run: composer global require thunder/drupal-testing
- name: Prepare the build
run: test-drupal-project prepare_build
env:
DRUPAL_TESTING_DRUPAL_VERSION: ${{ matrix.DRUPAL_TESTING_DRUPAL_VERSION }}
- name: Build the docroot
run: test-drupal-project build
- name: Test for deprecations
run: test-drupal-project deprecation
if: ${{ matrix.DRUPAL_TESTING_DRUPAL_VERSION != '~9.0.0' }}
- name: Install drupal
run: test-drupal-project install
env:
DRUPAL_TESTING_TEST_DEPRECATION: false
- name: Start webserver and run the tests
run: test-drupal-project
name: Check coding styles
on: [pull_request]
jobs:
phpcs:
name: runner / phpcs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: phpcs
uses: chrfritsch/action-drupal-coder@v1
with:
github_token: ${{ secrets.github_token }}
level: error
misspell:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
level: warning
locale: "US"
......@@ -10,15 +10,8 @@
}
],
"require-dev": {
"drupal/inline_entity_form": "^1.0",
"drupal/inline_entity_form": "^1.0-rc10",
"drupal/paragraphs": "^1.0",
"drupal/entity_reference_revisions": "^1.0"
},
"extra": {
"patches": {
"drupal/inline_entity_form": {
"Changes are lost when collapsing a paragraphs subform including an inline_entity_form": "https://www.drupal.org/files/issues/2021-04-26/2901158-16_0.patch"
}
}
}
}
build:
environment:
startcontainers:
runcontainers:
create_db:
dbcreate:
codebase:
assemble_codebase:
checkout_core:
checkout.contrib:
fetch:
patch:
composer.core_install:
gather_dependencies:
update_build:
yarn_install:
start_phantomjs:
assessment:
validate_codebase:
phplint:
container_composer:
host_command:
commands:
- 'cd modules/contrib/inline_entity_form; sudo -u www-data curl "https://www.drupal.org/files/issues/2021-04-26/2901158-16_0.patch" | sudo -u www-data patch -p1'
csslint:
halt-on-fail: true
eslint:
halt-on-fail: false
phpcs:
halt-on-fail: true
testing:
run_tests.standard:
types: 'PHPUnit-Unit,PHPUnit-Kernel,PHPUnit-Functional'
run_tests.js:
concurrency: 15
types: 'PHPUnit-FunctionalJavascript'
# There are no nightwatch tests yet.
# nightwatchjs:
......@@ -2,7 +2,7 @@ name: Entity Reference Actions
description: 'Provide an extension for entity reference fields to execute actions on the referenced items.'
type: module
package: User interface
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^9.2
test_dependencies:
- inline_entity_form
- paragraphs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment