updated workdlow file

This commit is contained in:
Navan Chauhan 2020-09-10 13:14:29 +05:30
parent 803fd48cf3
commit 84f602230b
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Test Backend name: Test Database and Backend
on: [push] on: [push]
@ -20,7 +20,11 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install mysql-connector mysql pip install mysql-connector mysql
- name: Add sample data to Database
run: cd tests && python dbTestFiller.py
- name: Fetch Latest Curie-CLI - name: Fetch Latest Curie-CLI
run: docker pull navanchauhan/curie-cli:latest run: docker pull navanchauhan/curie-cli:latest
- name: Run Backend Test - name: Run Backend Test
run: cd tests && python backendTest.py run: cd tests && python backendTest.py
- name: Remove sample data
run: cd tests && pyton removeSample.py