diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-07-07 11:41:42 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-07-07 11:41:42 +0530 |
commit | b296e4d2771088d2fd567eca19c2696d8248dbd8 (patch) | |
tree | 0b4f5eb9f04783a8cb30c12959b2803424a3a9ee /.github | |
parent | 0f0791037f292cca9485bb5b9f1b5ad810b8a483 (diff) |
Moved tests in a seperate folder
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test-backend.yaml (renamed from .github/workflows/test_backend.yaml) | 5 | ||||
-rw-r--r-- | .github/workflows/test-database.yaml | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/.github/workflows/test_backend.yaml b/.github/workflows/test-backend.yaml index ccaa320..39c63d5 100644 --- a/.github/workflows/test_backend.yaml +++ b/.github/workflows/test-backend.yaml @@ -20,8 +20,7 @@ jobs: run: | python -m pip install --upgrade pip pip install mysql-connector mysql - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Fetch Latest Curie-CLI run: docker pull navanchauhan/curie-cli:latest - - name: Run Database-Filler script - run: cd app && python backend_test.py + - name: Run Backend Test + run: cd tests && python backednTest.py 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 |