Skip to content

Commit

Permalink
Take out php 7.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
pingevt committed Nov 3, 2023
1 parent 7387e5e commit 3027f18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 68 deletions.
68 changes: 1 addition & 67 deletions .github/workflows/drupal-tests-and-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,79 +8,13 @@ env:
SIMPLETEST_BASE_URL: "http://127.0.0.1:8080"
DRUPAL_MODULE_NAME: "bluecadet_accessibility"
jobs:
# testing:
# name: Drupal ${{ matrix.drupal-core }} - PHP ${{ matrix.php-versions }}
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# drupal-core: ['9.4.x', '10.0.x']
# php-versions: ['7.4', '8.0', '8.1', '8.2']
# exclude:
# -
# drupal-core: '10.0.x'
# php-versions: '7.4'
# -
# drupal-core: '10.0.x'
# php-versions: '8.0'
# steps:
# - name: Checkout Drupal core
# uses: actions/checkout@v3
# with:
# repository: drupal/drupal
# ref: ${{ matrix.drupal-core }}

# - name: Checkout module
# uses: actions/checkout@v3
# with:
# path: modules/bluecadet_public_files

# - name: Setup PHP, with composer and extensions
# uses: shivammathur/setup-php@v2
# with:
# php-version: ${{ matrix.php-versions }}
# coverage: none

# - name: Get composer cache directory
# id: composercache
# # run: echo "::set-output name=dir::$(composer config cache-files-dir)"
# run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

# - name: Cache composer dependencies
# uses: actions/cache@v3
# with:
# path: ${{ steps.composercache.outputs.dir }}
# key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
# restore-keys: ${{ runner.os }}-composer-

# - name: Install Drupal core dependencies
# run: |
# composer --no-interaction --no-progress --prefer-dist --optimize-autoloader install

# # - name: Install module dependencies
# # run: |
# # composer --no-interaction --no-progress require \
# # drupal/commerce

# - name: Install Coder module
# run: |
# composer --dev --no-interaction --no-progress require \
# drupal/coder:^8

# - name: Check coding standards
# run: |
# ./vendor/bin/phpcs --config-set ignore_warnings_on_exit 1
# ./vendor/bin/phpcs --config-set ignore_errors_on_exit 1
# ./vendor/bin/phpcs -s --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt --ignore=node_modules,bower_components,vendor,dist --exclude=Drupal.InfoFiles.AutoAddedKeys --colors ./modules/bluecadet_public_files
# ./vendor/bin/phpcs -s --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt --ignore=node_modules,bower_components,vendor,dist --exclude=Drupal.InfoFiles.AutoAddedKeys --colors ./modules/bluecadet_public_files

test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
drupal-core: ['9.4.x', '9.5.x', '10.0.x', '10.1.x']
php-version: ['7.4', '8.0', '8.1', '8.2']
php-version: ['8.0', '8.1', '8.2']
mariadb-version: ['10.4', '10.6']
exclude:
-
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "GPL-2.0+",
"minimum-stability": "dev",
"require": {
"php": "^7.4||^8.0",
"php": "^8.0",
"bluecadet/bc_drupal_package_manager": "^1.0",
"composer/installers": "^1.9||^2.0",
"drupal/views_ajax_history": "^1.0",
Expand Down

0 comments on commit 3027f18

Please sign in to comment.