mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Clean up references to travis in all tests
This commit is contained in:
parent
1a824ae652
commit
715e8d781c
3 changed files with 8 additions and 25 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -16,14 +16,10 @@ jobs:
|
|||
with:
|
||||
php-version: ${{ matrix.php }}
|
||||
|
||||
- name: Start MySQL
|
||||
run: sudo systemctl start mysql.service
|
||||
|
||||
- name: Create MySQL database and user
|
||||
- name: Start MySQL and create database
|
||||
run: |
|
||||
sudo systemctl start mysql.service
|
||||
sudo mysql -uroot -proot -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
|
||||
sudo mysql -uroot -proot -e "CREATE USER travis@localhost IDENTIFIED WITH mysql_native_password BY 'travis'"
|
||||
sudo mysql -uroot -proot -e "GRANT ALL PRIVILEGES ON rhymix.* TO travis@localhost; FLUSH PRIVILEGES"
|
||||
|
||||
- name: PHP Lint
|
||||
run: if find . -name "*.php" ! -path "./vendor/*" -print0 | xargs -0 -n 1 -P 8 php -l | grep -v "No syntax errors detected"; then exit 1; fi
|
||||
|
|
@ -42,4 +38,4 @@ jobs:
|
|||
- name: Build and run codeception
|
||||
run: |
|
||||
php codecept.phar build
|
||||
php codecept.phar run --debug --fail-fast --env travis
|
||||
php codecept.phar run --debug --fail-fast
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue