From 2a4d90e227804ce918dc5560612e674178ea6f7e Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 18 Jan 2022 05:19:19 -0500 Subject: [PATCH] Skip tests on the -doc branches --- .github/workflows/tests.yml | 2 ++ azure-pipelines.yml | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e1080164066f..3f2cb2bd7fef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,8 @@ on: - auto-backport-of-pr-[0-9]+ - v[0-9]+.[0-9]+.[0-9x]+-doc pull_request: + branches-ignore: + - v[0-9]+.[0-9]+.[0-9x]+-doc env: NO_AT_BRIDGE: 1 # Necessary for GTK3 interactive test. diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 13e6d709c42f..a35e04b34688 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,6 +3,15 @@ # Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: # https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/python?view=azure-devops +trigger: + branches: + exclude: + - v[0-9]+.[0-9]+.[0-9x]+-doc +pr: + branches: + exclude: + - v[0-9]+.[0-9]+.[0-9x]+-doc + stages: - stage: Check