From 84f602230b2ff6a3b9acabdf3c94be5810f64961 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Thu, 10 Sep 2020 13:14:29 +0530 Subject: updated workdlow file --- .github/workflows/test-backend.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-backend.yaml b/.github/workflows/test-backend.yaml index 40b9b3d..d2b80c6 100644 --- a/.github/workflows/test-backend.yaml +++ b/.github/workflows/test-backend.yaml @@ -1,4 +1,4 @@ -name: Test Backend +name: Test Database and Backend on: [push] @@ -20,7 +20,11 @@ jobs: run: | python -m pip install --upgrade pip pip install mysql-connector mysql + - name: Add sample data to Database + run: cd tests && python dbTestFiller.py - name: Fetch Latest Curie-CLI run: docker pull navanchauhan/curie-cli:latest - name: Run Backend Test run: cd tests && python backendTest.py + - name: Remove sample data + run: cd tests && pyton removeSample.py -- cgit v1.2.3