aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-backend.yaml
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-10 13:14:29 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-10 13:14:29 +0530
commit84f602230b2ff6a3b9acabdf3c94be5810f64961 (patch)
tree91aacacd0a31adf9774f4814b833ad91f2320d12 /.github/workflows/test-backend.yaml
parent803fd48cf383636585877a4d93652e4f8995a39f (diff)
updated workdlow file
Diffstat (limited to '.github/workflows/test-backend.yaml')
-rw-r--r--.github/workflows/test-backend.yaml6
1 files changed, 5 insertions, 1 deletions
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