aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-database.yaml
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-07-07 11:41:42 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-07-07 11:41:42 +0530
commitb296e4d2771088d2fd567eca19c2696d8248dbd8 (patch)
tree0b4f5eb9f04783a8cb30c12959b2803424a3a9ee /.github/workflows/test-database.yaml
parent0f0791037f292cca9485bb5b9f1b5ad810b8a483 (diff)
Moved tests in a seperate folder
Diffstat (limited to '.github/workflows/test-database.yaml')
-rw-r--r--.github/workflows/test-database.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/test-database.yaml b/.github/workflows/test-database.yaml
index a64715b..36d00cb 100644
--- a/.github/workflows/test-database.yaml
+++ b/.github/workflows/test-database.yaml
@@ -20,12 +20,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 mysql-connector mysql
- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint script with flake8
run: |
- # stop the build if there are Python syntax errors or undefined names
- flake8 ./app/dbTestFiller.py --count --select=E9,F63,F7,F82 --show-source --statistics
+ flake8 ./tests/dbTestFiller.py --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 ./app/dbTestFiller.py --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
+ flake8 ./tests/dbTestFiller.py --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run Database-Filler script
- run: cd app && python dbTestFiller.py
+ run: cd tests && python dbTestFiller.py