njord-rs / njord

A versatile, feature-rich Rust ORM ⛵
https://njord.rs
BSD 3-Clause "New" or "Revised" License
409 stars 21 forks source link

Updating workflow and various stuff #151

Closed mjovanc closed 1 month ago

mjovanc commented 1 month ago

Updating the workflow to add a MySQL service as well as seperating the test commands to run each specific database tests and adding an empty test dir mysql with a mod.rs file.

I also added but commented out how we can inject schema and data to the database service. I'm thinking we can have the test database dummy data in this path: njord/db/test/<database>.sql. We should perhaps add the other files to a dir called sqlite as well later. If you have the time you can check it out otherwise I will do it.

I also now added you to review so you are synced with the changes I do and we can catch each others mistake better.

Let me know what you think!