Rochet2 / TrinityCore

Rochet2's stuff for TC
https://rochet2.github.io
89 stars 144 forks source link

Add database checks to CI #144

Closed Rochet2 closed 1 year ago

Rochet2 commented 1 year ago

The different branches have various changes to database, However, almost none of them are being tested by the auto merger.

This PR adds automatic setup of the database using auto updater which will error out if the SQLs fail due to DB structure changes. Table creation should be done by the auto updater. Any additional SQL scripts can be set up using the CI matrix. A few of the SQLs are not tested (yet) as they are utilities. They are commented out.

Additionally, a few SQLs from external sources are being tested in Run External SQLs step.

Rochet2 commented 1 year ago

Wait for https://github.com/i3h/download-release-asset/pull/8 to resolve and update.