From 014cdac95199c285fa8331a0c14cf68587d7a721 Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Fri, 11 Aug 2023 16:10:40 -0500 Subject: [PATCH] Add CI and PR triggers to coverage pipelines --- azure-pipelines/linux-coverage.yaml | 18 ++++++++++++++++++ azure-pipelines/mac-coverage.yaml | 18 ++++++++++++++++++ azure-pipelines/win-coverage.yaml | 18 ++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/azure-pipelines/linux-coverage.yaml b/azure-pipelines/linux-coverage.yaml index 9757a681..df1d362f 100644 --- a/azure-pipelines/linux-coverage.yaml +++ b/azure-pipelines/linux-coverage.yaml @@ -1,3 +1,21 @@ +# This pipeline is used to run unit test code coverage against debugpy public repo. + +# Trigger ci builds for commits into master and any release branches +trigger: + branches: + include: + - main + - release/* + +# Trigger pr builds for commits into master and any release branches +# Ignore draft PR's +pr: + branches: + include: + - main + - release/* + drafts: false + variables: architecture: "x64" python.version: "3.8" diff --git a/azure-pipelines/mac-coverage.yaml b/azure-pipelines/mac-coverage.yaml index 6374008a..d044dd60 100644 --- a/azure-pipelines/mac-coverage.yaml +++ b/azure-pipelines/mac-coverage.yaml @@ -1,3 +1,21 @@ +# This pipeline is used to run unit test code coverage against debugpy public repo. + +# Trigger ci builds for commits into master and any release branches +trigger: + branches: + include: + - main + - release/* + +# Trigger pr builds for commits into master and any release branches +# Ignore draft PR's +pr: + branches: + include: + - main + - release/* + drafts: false + variables: architecture: "x64" python.version: "3.8" diff --git a/azure-pipelines/win-coverage.yaml b/azure-pipelines/win-coverage.yaml index 086307d1..55f10e43 100644 --- a/azure-pipelines/win-coverage.yaml +++ b/azure-pipelines/win-coverage.yaml @@ -1,3 +1,21 @@ +# This pipeline is used to run unit test code coverage against debugpy public repo. + +# Trigger ci builds for commits into master and any release branches +trigger: + branches: + include: + - main + - release/* + +# Trigger pr builds for commits into master and any release branches +# Ignore draft PR's +pr: + branches: + include: + - main + - release/* + drafts: false + variables: architecture: "x64" python.version: "3.8"