diff options
Diffstat (limited to '.github/workflows/test-database.yaml')
| -rw-r--r-- | .github/workflows/test-database.yaml | 8 | 
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 | 
