mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
ci: limit PR CI to linux (#11738)
This commit is contained in:
parent
6cbc58cf19
commit
fa175a0d60
48
.github/workflows/ci.yml
vendored
48
.github/workflows/ci.yml
vendored
@ -8,6 +8,15 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
types:
|
||||||
|
# These are the defaults. See
|
||||||
|
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
# Used for `full-ci`
|
||||||
|
- labeled
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
|
|
||||||
@ -140,6 +149,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
linux-only:
|
||||||
|
- ${{ github.event_name == 'pull_request' && !contains(github.head_ref, 'release-please') && !contains(github.event.pull_request.labels.*.name, 'full-ci') }}
|
||||||
suite:
|
suite:
|
||||||
- chrome-headless
|
- chrome-headless
|
||||||
- chrome-headful
|
- chrome-headful
|
||||||
@ -153,6 +164,13 @@ jobs:
|
|||||||
- 1-2
|
- 1-2
|
||||||
- 2-2
|
- 2-2
|
||||||
exclude:
|
exclude:
|
||||||
|
- linux-only: true
|
||||||
|
os: windows-latest
|
||||||
|
- linux-only: true
|
||||||
|
os: macos-latest
|
||||||
|
- linux-only: true
|
||||||
|
suite: chrome-headful
|
||||||
|
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
suite: chrome-bidi
|
suite: chrome-bidi
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
@ -228,6 +246,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
linux-only:
|
||||||
|
- ${{ github.event_name == 'pull_request' && !contains(github.head_ref, 'release-please') && !contains(github.event.pull_request.labels.*.name, 'full-ci') }}
|
||||||
suite:
|
suite:
|
||||||
- firefox-bidi
|
- firefox-bidi
|
||||||
- firefox-headful
|
- firefox-headful
|
||||||
@ -242,6 +262,11 @@ jobs:
|
|||||||
- 3-4
|
- 3-4
|
||||||
- 4-4
|
- 4-4
|
||||||
exclude:
|
exclude:
|
||||||
|
- linux-only: true
|
||||||
|
os: windows-latest
|
||||||
|
- linux-only: true
|
||||||
|
os: macos-latest
|
||||||
|
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
suite: firefox-headful
|
suite: firefox-headful
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
@ -334,14 +359,21 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
linux-only:
|
||||||
|
- ${{ github.event_name == 'pull_request' && !contains(github.head_ref, 'release-please') && !contains(github.event.pull_request.labels.*.name, 'full-ci') }}
|
||||||
node:
|
node:
|
||||||
- 18
|
- 18
|
||||||
pkg_manager:
|
pkg_manager:
|
||||||
- npm
|
- npm
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- macos-latest
|
|
||||||
- windows-latest
|
- windows-latest
|
||||||
|
- macos-latest
|
||||||
|
exclude:
|
||||||
|
- linux-only: true
|
||||||
|
os: windows-latest
|
||||||
|
- linux-only: true
|
||||||
|
os: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download installation test
|
- name: Download installation test
|
||||||
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
|
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
|
||||||
@ -451,10 +483,17 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
linux-only:
|
||||||
|
- ${{ github.event_name == 'pull_request' && !contains(github.head_ref, 'release-please') && !contains(github.event.pull_request.labels.*.name, 'full-ci') }}
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
- macos-latest
|
- macos-latest
|
||||||
|
exclude:
|
||||||
|
- linux-only: true
|
||||||
|
os: windows-latest
|
||||||
|
- linux-only: true
|
||||||
|
os: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
@ -498,10 +537,17 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
linux-only:
|
||||||
|
- ${{ github.event_name == 'pull_request' && !contains(github.head_ref, 'release-please') && !contains(github.event.pull_request.labels.*.name, 'full-ci') }}
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
- macos-latest
|
- macos-latest
|
||||||
|
exclude:
|
||||||
|
- linux-only: true
|
||||||
|
os: windows-latest
|
||||||
|
- linux-only: true
|
||||||
|
os: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
Loading…
Reference in New Issue
Block a user