mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Use ubuntu-1804 image for phpunit actions.
This commit is contained in:
parent
8a74acb4ed
commit
18a72bfa7b
1 changed files with 2 additions and 4 deletions
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -13,7 +13,8 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
phpunit:
|
phpunit:
|
||||||
name: PHPUnit and coverage Test (${{ matrix.php-versions }})
|
name: PHPUnit and coverage Test (${{ matrix.php-versions }})
|
||||||
runs-on: ubuntu-latest
|
# Ubuntu 20.04 ships MySQL 8.0 which causes problems with login, so we just use ubuntu 18.04 for now...
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
env:
|
env:
|
||||||
APP_ENV: test
|
APP_ENV: test
|
||||||
|
@ -38,9 +39,6 @@ jobs:
|
||||||
- name: Start MySQL
|
- name: Start MySQL
|
||||||
run: sudo systemctl start mysql.service
|
run: sudo systemctl start mysql.service
|
||||||
|
|
||||||
- name: Setup MySQL authentication method that PHP understands
|
|
||||||
run: sudo mysql -u root --password="root" -e "ALTER USER root IDENTIFIED WITH mysql_native_password BY 'root';"
|
|
||||||
|
|
||||||
#- name: Setup MySQL
|
#- name: Setup MySQL
|
||||||
# uses: mirromutth/mysql-action@v1.1
|
# uses: mirromutth/mysql-action@v1.1
|
||||||
# with:
|
# with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue