Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ jobs:
command: pip install -r requirements.txt
- run:
name: Run tests and collect coverage
command: pytest --cov app
- codecov/upload
command: |
pytest --cov app
coverage xml
- codecov/upload:
cli_args: -v
token: CODECOV_TOKEN
upload_args: --plugin noop

workflow:
version: 2.1
Expand Down
2 changes: 2 additions & 0 deletions app/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ def divide(x, y):
return 'Cannot divide by 0'
return x * 1.0 / y

def smiles():
return ':)'
1 change: 1 addition & 0 deletions fake-file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
thisisnotacoveragereport
Loading