From 62bdf0ff6f4285d0c0779779f59a1c80d1694be8 Mon Sep 17 00:00:00 2001 From: Tracy Boehrer Date: Wed, 29 Nov 2023 09:42:50 -0600 Subject: [PATCH] Pipeline updates --- pipelines/botbuilder-python-ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pipelines/botbuilder-python-ci.yml b/pipelines/botbuilder-python-ci.yml index 04a848e1f..802f49481 100644 --- a/pipelines/botbuilder-python-ci.yml +++ b/pipelines/botbuilder-python-ci.yml @@ -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 @@ -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 @@ -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