Skip to content

Test Pull Request to Trigger Azure DevOps Pipeline #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
56afe37
Set up CI with Azure Pipelines
ethbatch Aug 16, 2024
a098c28
Set up CI with Azure Pipelines
ethbatch Aug 16, 2024
b6502e8
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 16, 2024
d72c3ab
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 16, 2024
7413cf1
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 19, 2024
7a64040
Update README.md
ethbatch Aug 19, 2024
1184bd0
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 19, 2024
ca4ea5e
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
ad22124
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
8b79f77
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
d22d5e2
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
1d92d6f
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
c300c8b
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
3fe59de
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
0b66039
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
4b7f5bc
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
4a9fa29
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
8b34308
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
46538fe
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
596a79a
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
149f2a7
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
039bbe1
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
7cf8a48
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
2614f13
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
3815f71
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
004336c
Update azure-pipelines.yml for Azure Pipelines
ethbatch Aug 20, 2024
65f316f
Update README.md
ethbatch Aug 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![Build Status](https://dev.azure.com/ajtestorg01/myproject/_apis/build/status%2Fethbatch.python-sample-vscode-flask-tutorial?branchName=main)](https://dev.azure.com/ajtestorg01/myproject/_build/latest?definitionId=2&branchName=main)
# Python/Flask Tutorial for Visual Studio Code

* This sample contains the completed program from the tutorial, make sure to visit the link: [Using Flask in Visual Studio Code](https://code.visualstudio.com/docs/python/tutorial-flask). Intermediate steps are not included.
Expand Down
54 changes: 54 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python

trigger:
- main
pr:
- pr

pool:
name: Default
vmImage: ubuntu-latest
strategy:
matrix:
Python37:
python.version: '3.7'

steps:
- script: |
dir d:\learningsupport\
displayName: 'Show me the folder'

- task: PowerShell@2
inputs:
targetType: 'inline'
script: |
# Write your PowerShell commands here.

Write-Host "Hello World"
Write-Host $env:MYNAME
displayName: 'Powershell run'
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'





- script: |
python -m pip install --upgrade pip
pip install -r requirements.txt
displayName: 'Install dependencies!!!'

- script: |
python --version
displayName: 'Python version'

- script: |
pip install pytest pytest-azurepipelines
pytest
displayName: 'pytest'