File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 53
53
flake8 service tests --count --select=E9,F63,F7,F82 --show-source --statistics
54
54
# check for complexity. The GitHub editor is 127 chars wide
55
55
flake8 service tests --count --max-complexity=10 --max-line-length=127 --statistics
56
- # Run pylint on the service
56
+ # Run pylint on the service package
57
57
pylint service tests --max-line-length=127
58
58
59
59
- name : Run unit tests with pytest
63
63
FLASK_APP : " wsgi:app"
64
64
DATABASE_URI : " postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/testdb"
65
65
66
- - name : Upload code coverage
67
- uses : codecov/codecov-action@v3.1.4
66
+ - name : Install packages for Codecov to work
67
+ run : apt update && apt install -y git curl gpg
68
+
69
+ - name : Upload coverage reports to Codecov
70
+ uses : codecov/codecov-action@v5
71
+ with :
72
+ token : ${{ secrets.CODECOV_TOKEN }}
73
+ slug : nyu-devops/lab-flask-tdd
You can’t perform that action at this time.
0 commit comments