mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 08:28:39 +00:00
Remove database migration step from ci, enable database on Windows
This commit is contained in:
parent
ba85c28041
commit
5a48786ba4
1 changed files with 1 additions and 7 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- { prettyName: Windows, fullName: windows-latest, database: false }
|
||||
- { prettyName: Windows, fullName: windows-latest, database: true }
|
||||
- { prettyName: macOS, fullName: macos-latest, database: true }
|
||||
- { prettyName: Linux, fullName: ubuntu-latest, database: true }
|
||||
timeout-minutes: 10
|
||||
|
@ -51,12 +51,6 @@ jobs:
|
|||
with:
|
||||
mysql-version: '8.0'
|
||||
root-password: ${{ env.DB_PASSWORD }}
|
||||
|
||||
- name: Run database migrations
|
||||
if: ${{ matrix.os.database }}
|
||||
run: |
|
||||
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} -h127.0.0.1
|
||||
mysql --batch -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} -h127.0.0.1 ${{ env.DB_DATABASE }} < <(cat DatabaseMigrations/*.sql)
|
||||
|
||||
- name: Test
|
||||
continue-on-error: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue