aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test-backend.yaml (renamed from .github/workflows/test_backend.yaml)5
-rw-r--r--.github/workflows/test-database.yaml8
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