File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4848 poetry config virtualenvs.create false
4949 poetry install
5050
51- - name : Linting
51+ - name : Run Code Quality Checks
5252 run : |
5353 # stop the build if there are Python syntax errors or undefined names
5454 flake8 service tests --count --select=E9,F63,F7,F82 --show-source --statistics
@@ -57,11 +57,11 @@ jobs:
5757 # Run pylint on the service
5858 pylint service tests --max-line-length=127
5959
60- - name : Run unit tests with green
60+ - name : Run unit tests with pytest
6161 run : |
62- export FLASK_APP=service:app
6362 pytest --pspec --cov=service --cov-fail-under=95 --disable-warnings
6463 env :
64+ FLASK_APP : " wsgi:app"
6565 DATABASE_URI : " postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/testdb"
6666
6767 - name : Upload code coverage
You can’t perform that action at this time.
0 commit comments