From ab8587d381bb02fcd2d54f84c06033aa5676a0cc Mon Sep 17 00:00:00 2001 From: Shahid Afrid <55510234+shahidafrid366@users.noreply.github.com> Date: Fri, 13 Sep 2024 21:29:48 +0530 Subject: [PATCH 1/4] Set up CI with Azure Pipelines [skip ci] --- python-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 python-pipelines.yml diff --git a/python-pipelines.yml b/python-pipelines.yml new file mode 100644 index 00000000..27a798ad --- /dev/null +++ b/python-pipelines.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From b826abfba54f456dddafc132431f835540f8e6fc Mon Sep 17 00:00:00 2001 From: Shahid Afrid <55510234+shahidafrid366@users.noreply.github.com> Date: Sat, 14 Sep 2024 10:28:40 +0530 Subject: [PATCH 2/4] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..27a798ad --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From c4baf13aee8f0aadd41fbff2a958e75fb6fb710b Mon Sep 17 00:00:00 2001 From: Shahid Afrid <55510234+shahidafrid366@users.noreply.github.com> Date: Sat, 14 Sep 2024 10:54:57 +0530 Subject: [PATCH 3/4] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 27a798ad..39466b34 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,10 +10,22 @@ pool: vmImage: ubuntu-latest steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' +- task: UsePythonVersion@0 + inputs: + versionSpec: '3.x' + addToPath: true + displayName: 'Use Python 3.x' -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' +- script: python -m pip install --upgrade pip + displayName: 'Upgrade pip' + +- script: pip install -r requirements.txt + displayName: 'Install dependencies' + +- script: pytest + displayName: 'Run Tests' + +- task: PublishTestResults@2 + inputs: + testResultsFiles: '**Test-*.xml' + testRunTitle: 'Python Test Results' \ No newline at end of file From 26575eb7b2d40d4ee7761b1533ceb72f33d186fc Mon Sep 17 00:00:00 2001 From: Shahid Afrid <55510234+shahidafrid366@users.noreply.github.com> Date: Sat, 14 Sep 2024 11:29:57 +0530 Subject: [PATCH 4/4] Create sample.html --- sample.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 sample.html diff --git a/sample.html b/sample.html new file mode 100644 index 00000000..6a4ff221 --- /dev/null +++ b/sample.html @@ -0,0 +1 @@ +