Skip to content

Commit

Permalink
pipeline(config)
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Feb 1, 2020
1 parent 84bc927 commit a3973d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,4 @@ repos:
args:
- --autofix
- --indent
- "4"
- repo: local
hooks:
- id: pytest
name: pytest
entry: pipenv run pytest
language: system
pass_filenames: false
types: [python]
always_run: true
- "4"
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ steps:
- script: python -m pipenv install --dev
displayName: 'Installing dependencies'
- script: pipenv run pre-commit run --all-files
displayName: 'Format checker and tests'
displayName: 'Format checker'
- script: pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=apps --cov-report=xml --cov-report=html
displayName: 'Running tests'

0 comments on commit a3973d0

Please sign in to comment.