mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19: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
|
||||
matrix:
|
||||
php-versions: [ '7.4', '8.0', '8.1' ]
|
||||
name: MyAAC on PHP ${{ matrix.php-versions }}
|
||||
steps:
|
||||
- name: Start MySQL
|
||||
- name: 📌 MySQL Start & init & show db
|
||||
run: |
|
||||
sudo /etc/init.d/mysql start
|
||||
|
||||
- name: 📌 Initialize database
|
||||
run: |
|
||||
mysql -e 'CREATE DATABASE myaac;' -uroot -proot
|
||||
|
||||
- name: Verify DB exists
|
||||
run: mysql -uroot -proot -e "SHOW DATABASES"
|
||||
mysql -e "SHOW DATABASES" -uroot -proot
|
||||
|
||||
- name: Checkout MyAAC
|
||||
uses: actions/checkout@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user