From 2fc95bcca5a29f5a2953e4ea8d79843280e0d006 Mon Sep 17 00:00:00 2001 From: Sofyan Ajridi <33550874+sofyanajridi@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:46:43 +0100 Subject: [PATCH] Update and rename azure-pipelines.yml to test.yml --- azure-pipelines.yml | 39 --------------------------------------- test.yml | 1 + 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 azure-pipelines.yml create mode 100644 test.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 30ef63d..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,39 +0,0 @@ -# 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 - -pool: - vmImage: ubuntu-latest -strategy: - matrix: - Python27: - python.version: '2.7' - Python35: - python.version: '3.5' - Python36: - python.version: '3.6' - Python37: - python.version: '3.7' - -steps: -- 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: | - pip install pytest pytest-azurepipelines - pytest - displayName: 'pytest' -- script: | - pytest tests/ - displayName: 'Running unit tests' diff --git a/test.yml b/test.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/test.yml @@ -0,0 +1 @@ +