Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Nov 18, 2024
1 parent b255301 commit d6bca21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .azure/scripts/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ steps:
allowUnstable: true # boolean. Optional. Use when disableDownloadFromRegistry = false. Allow downloading unstable releases. Default: false.
githubToken: $(githubToken) # global (secret) variable to allow API access to Github (for not hitting a rate limit while downloading).
- bash: |
[[ $(python --version) -eq '$version' ]]
displayName: check version
echo AGENT_JOBSTATUS = $AGENT_JOBSTATUS
if [[ "$AGENT_JOBSTATUS" == "SucceededWithIssues" ]]; then exit 1; fi
displayName: Python ${{ parameters.version }} set as interpreter.

0 comments on commit d6bca21

Please sign in to comment.