From e9bbaba19189d3abee8a8a65413e18afed59e105 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Tue, 18 Jan 2022 20:08:53 +0100 Subject: [PATCH] Backport PR #22256: 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 9f652f1bb83c..bbc5e44ec7bf 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 5d51afa86f67..2c794033a494 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