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 5353 flake8 service tests --count --select=E9,F63,F7,F82 --show-source --statistics
5454 # check for complexity. The GitHub editor is 127 chars wide
5555 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
5757 pylint service tests --max-line-length=127
5858
5959 - name : Run unit tests with pytest
6363 FLASK_APP : " wsgi:app"
6464 DATABASE_URI : " postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/testdb"
6565
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