Add a mysql_session_timezone
define to disable MySQL date functions
#162
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:5.7 | |
ports: | |
- 3306:3306 | |
env: | |
MYSQL_DATABASE: test | |
MYSQL_ALLOW_EMPTY_PASSWORD: yes | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
postgres: | |
image: postgis/postgis:13-3.1 | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_DB: test | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
options: --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=3 | |
strategy: | |
matrix: | |
haxe-version: | |
- 4.0.5 | |
- 4.1.5 | |
- stable | |
- nightly | |
target: | |
- node | |
- php | |
env: | |
# excluded CockroachDb here because it is hard to create a GitHub Actions service with command/entrypoint override | |
TEST_DB_TYPES: MySql,PostgreSql,Sqlite | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
if: ${{ matrix.target == 'php' }} | |
- run: php --version | |
if: ${{ matrix.target == 'php' }} | |
- run: npm i | |
- run: npm run test ${{ matrix.target }} |