Build/Test Tools: Run automated testing when tags are created.

This expands the list of events that triggers automated testing to include tags.

It also refines the matched version ranges for several workflows.

See #50401.

git-svn-id: https://develop.svn.wordpress.org/trunk@50298 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2021-02-12 16:01:54 +00:00
parent e3a98e8f55
commit 14c3fb1d43
6 changed files with 27 additions and 7 deletions

View File

@ -4,9 +4,13 @@ on:
push:
branches:
- master
# JSHint was introduced in WordPress 3.8.
# PHPCS checking was introduced in WordPress 5.1.
- '5.[1-9]'
- '[6-9].*'
- '3.[89]'
- '[4-9].[0-9]'
tags:
- '3.[89]*'
- '[4-9].[0-9]*'
pull_request:
jobs:

View File

@ -6,7 +6,10 @@ on:
- master
# The end to end test suite was introduced in WordPress 5.3.
- '5.[3-9]'
- '[6-9].*'
- '[6-9].[0-9]'
tags:
- '5.[3-9]*'
- '[6-9].[0-9]*'
pull_request:
env:

View File

@ -4,7 +4,12 @@ on:
push:
branches:
- master
- '*.*'
# JavaScript testing was introduced in WordPress 3.8.
- '3.[89]'
- '[4-9].[0-9]'
tags:
- '3.[89]*'
- '[4-9].[0-9]*'
pull_request:
jobs:

View File

@ -6,7 +6,10 @@ on:
- master
# The PHP compatibility testing was introduced in WordPress 5.5.
- '5.[5-9]'
- '[6-9].*'
- '[6-9].[0-9]'
tags:
- '5.[5-9]*'
- '[6-9].[0-9]*'
pull_request:
jobs:

View File

@ -4,7 +4,11 @@ on:
push:
branches:
- master
- '*.*'
- '3.[7-9]'
- '[4-9].[0-9]'
tags:
- '3.[7-9]*'
- '[4-9].[0-9]*'
pull_request:
# Once weekly On Sundays at 00:00 UTC.
schedule:

View File

@ -4,7 +4,8 @@ on:
push:
branches:
- master
- '*.*'
- '3.[7-9]'
- '[4-9].[0-9]'
pull_request:
env: