ANIALLATOR114 / SimplyTransport

SimplyTransport - API - Website - Ingesting and presenting Transport Information
https://simplytransport.ie
Apache License 2.0
2 stars 3 forks source link

Support multiple sql scripts #137

Closed ANIALLATOR114 closed 1 month ago

ANIALLATOR114 commented 1 month ago

Summary by Sourcery

Update CI workflows to run all SQL scripts in the sql_scripts directory, allowing for multiple SQL scripts to be executed during database setup.

CI:

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request updates the GitHub Actions workflow files to support the execution of multiple SQL scripts. Instead of running a single SQL script, the changes implement a loop that iterates over all SQL files in the sql_scripts directory and executes them sequentially. This ensures that all necessary SQL scripts are applied during the workflow runs.

File-Level Changes

Files Changes
.github/workflows/tests_on_merge_main.yaml
.github/workflows/tests_on_pr.yaml
Updated the workflow files to execute multiple SQL scripts instead of a single script by iterating over all files in the sql_scripts directory.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.