Skip to content

Commit

Permalink
ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Aug 9, 2019
1 parent f031041 commit bb64c0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:

# LINT AND FORMATTING CODE
- job: 'Lint'
dependsOn: 'Test'
pool:
vmImage: "windows-2019"

Expand All @@ -40,8 +39,9 @@ jobs:
python -m black --target-version=py37 .\tests
displayName: 'Apply black code formatting'
# UNIT TESTS
# TESTS
- job: 'Test'
dependsOn: 'Lint'
pool:
vmImage: "windows-2019"
strategy:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
# BUILD and PUBLISH
# only with a tagged commit (see: https://github.com/MicrosoftDocs/vsts-docs/issues/3281)
- job: 'Publish'
dependsOn: 'Lint'
dependsOn: 'Test'
pool:
vmImage: "windows-2019"
# condition:
Expand Down Expand Up @@ -164,6 +164,6 @@ jobs:
inputs:
externalFeeds: 'Python Package Index (PyPi)'

- script: twine upload dist/* -r 'Python Package Index (PyPi)' -u $(TWINE_USERNAME) -p $(TWINE_PASSWORD)
- script: twine upload -r 'Python Package Index (PyPi)' --config-file $(PYPIRC_PATH) dist/*
continueOnError: true
displayName: "Upload to PyPi"

0 comments on commit bb64c0a

Please sign in to comment.