mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
optimize workflow
This commit is contained in:
parent
09a045334c
commit
8d98306f8e
10
.github/workflows/cypress.yml
vendored
10
.github/workflows/cypress.yml
vendored
@ -23,17 +23,13 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: [ '7.4', '8.0', '8.1' ]
|
php-versions: [ '7.4', '8.0', '8.1' ]
|
||||||
|
name: MyAAC on PHP ${{ matrix.php-versions }}
|
||||||
steps:
|
steps:
|
||||||
- name: Start MySQL
|
- name: 📌 MySQL Start & init & show db
|
||||||
run: |
|
run: |
|
||||||
sudo /etc/init.d/mysql start
|
sudo /etc/init.d/mysql start
|
||||||
|
|
||||||
- name: 📌 Initialize database
|
|
||||||
run: |
|
|
||||||
mysql -e 'CREATE DATABASE myaac;' -uroot -proot
|
mysql -e 'CREATE DATABASE myaac;' -uroot -proot
|
||||||
|
mysql -e "SHOW DATABASES" -uroot -proot
|
||||||
- name: Verify DB exists
|
|
||||||
run: mysql -uroot -proot -e "SHOW DATABASES"
|
|
||||||
|
|
||||||
- name: Checkout MyAAC
|
- name: Checkout MyAAC
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user