Skip to content

Updated QuantClient for php 8.2 deprecation. #592

Updated QuantClient for php 8.2 deprecation.

Updated QuantClient for php 8.2 deprecation. #592

Workflow file for this run

name: Test and code coverage
on:
- push
jobs:
lint:
runs-on: ubuntu-latest
container: quantcdn/drupal-ci:9.4.x-dev
steps:
- uses: actions/checkout@v2
- name: Lint
run: phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,yml .
phpunit:
runs-on: ubuntu-latest
container: quantcdn/drupal-ci:9.4.x-dev
services:
mariadb:
image: mariadb:10.11
ports:
- 3306:3306
env:
MYSQL_DATABASE: drupal9
MYSQL_ROOT_PASSWORD: drupal
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=30
steps:
- name: Install Drupal
run: drush si --db-url=mysql://root:drupal@mariadb:3306/drupal9 -y
working-directory: /var/www/drupal
- name: Install module dependencies
run: composer --no-interaction --no-progress require drupal/token
working-directory: /var/www/drupal
- name: Set up custom module
run: mkdir -p /var/www/drupal/web/modules/custom/quant
- uses: actions/checkout@v2
with:
path: quant
- name: Move the module
run: mv ./quant /var/www/drupal/web/modules/custom
- name: Enable quant
run: drush en quant -y
working-directory: /var/www/drupal