update to doctrine/orm 3.0 #37
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: shared-query-builder-CI | |
on: | |
[push, pull_request] | |
jobs: | |
build-php-8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: composer install | |
run: composer install | |
check-code-php-8: | |
runs-on: ubuntu-latest | |
needs: [ build-php-8 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: composer install | |
run: composer install | |
- name: cs-check | |
run: composer cs-check | |
- name: phpstan | |
run: composer phpstan | |
tests-php-8: | |
runs-on: ubuntu-latest | |
needs: [ build-php-8 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: composer install | |
run: composer install | |
- name: setting mysql | |
run: | | |
sudo systemctl enable mysql.service | |
sudo systemctl start mysql.service | |
mysql -uroot -proot -h localhost -e "CREATE DATABASE test CHARACTER SET utf8 COLLATE utf8_general_ci;" | |
- name: phpunit | |
run: composer phpunit |