From 5cea68b9d23f32c7c4ffc68076169c13d99698da Mon Sep 17 00:00:00 2001 From: Harshith Umesh Date: Thu, 15 Feb 2024 01:31:59 -0500 Subject: [PATCH] fix ci file 2 --- .github/workflows/ci_integration_tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_integration_tests.yml b/.github/workflows/ci_integration_tests.yml index 2fbcc5c..a3d54b5 100644 --- a/.github/workflows/ci_integration_tests.yml +++ b/.github/workflows/ci_integration_tests.yml @@ -31,11 +31,16 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install pytest flask-testing + pip install pytest flask-testing python-dotenv - name: Configure Application run: | echo "SQLALCHEMY_DATABASE_URI=mysql+pymysql://root:password@mysql/Users" > .env + + - name: Check MySQL Connection + run: | + mysql -h mysql -u root -p password -e "SHOW DATABASES;" + # Additional step for initializing the database