Skip to content

Adding codecov #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
7 changes: 7 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,16 @@ jobs:

- script: python -m pip install flake8 && flake8 .
displayName: 'Validating PEP-8'
condition: eq(variables['python.version'], '3.7')

- script: python -m pip install --upgrade pip && pip install -e .
displayName: 'Install dependencies'

- script: python -m unittest discover tests
displayName: 'Run unittest tests'

- script: |
python -m pip install coverage && coverage run --source=mnist/ mnist/__init__.py
python -m pip install codecov && codecov --token=3a77cb95-5251-47bd-a438-70d139b9f3a3
displayName: 'Coverage'
condition: eq(variables['python.version'], '3.7')