Skip to content

WSContest tool: Add UTC timezone indicators to date and time display #87

WSContest tool: Add UTC timezone indicators to date and time display

WSContest tool: Add UTC timezone indicators to date and time display #87

Workflow file for this run

name: CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- '**'
env:
APP_ENV: test
# Match Toolforge's MariaDB version.
DATABASE_URL: mysql://root:testpwd@127.0.0.1:3306/wscontest_tests?serverVersion=mariadb-10.1.48
jobs:
build:
services:
mysql:
image: mysql:5.7
env:
MYSQL_DATABASE: wscontest_tests
MYSQL_ROOT_PASSWORD: testpwd
ports:
- '3306:3306'
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
matrix:
php: [ '7.3', '7.4', '8.0', '8.1', '8.2' ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{matrix.php}}
extensions: pdo
- name: Install
run: |
composer install
./bin/console doctrine:migrations:migrate
npm ci
- name: Test
run: |
composer test
npm test