Skip to content

Commit

Permalink
Pipeline updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Tracy Boehrer committed Nov 29, 2023
1 parent 3b0465c commit 62bdf0f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pipelines/botbuilder-python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ variables:
COVERALLS_GIT_COMMIT: $(Build.SourceVersion)
COVERALLS_SERVICE_JOB_ID: $(Build.BuildId)
COVERALLS_SERVICE_NAME: python-ci
python.37: 3.7.x
python.38: 3.8.x
python.37: 3.7
python.38: 3.8
# python.311: 3.11.x
# PythonCoverallsToken: get this from Azure

Expand Down Expand Up @@ -60,6 +60,12 @@ jobs:
pip install black==22.3.0
displayName: 'Install dependencies'
- script: 'black --check libraries'
displayName: 'Check Black compliant'

- script: 'pylint --rcfile=.pylintrc libraries'
displayName: Pylint

- script: |
pip install pytest
pip install pytest-cov
Expand All @@ -80,12 +86,6 @@ jobs:
testResultsFiles: '**/test-results.$(PYTHON_VERSION).xml'
testRunTitle: 'Python $(PYTHON_VERSION)'

- script: 'black --check libraries'
displayName: 'Check Black compliant'

- script: 'pylint --rcfile=.pylintrc libraries'
displayName: Pylint

- script: 'COVERALLS_REPO_TOKEN=$(PythonCoverallsToken) coveralls'
displayName: 'Push test results to coveralls https://coveralls.io/github/microsoft/botbuilder-python'
continueOnError: true
Expand Down

0 comments on commit 62bdf0f

Please sign in to comment.