Hourly e2e tests only on Ubuntu (#5846)

* Attempt: Hourly tests on ubuntu only

* Attempt: Hourly tests on ubuntu only through os exlusion rules

* Attempt: Hourly tests on ubuntu only through dummy boolean key

* Clean up for PR
This commit is contained in:
Pierre Jacquier
2025-03-17 17:01:33 -04:00
committed by GitHub
parent 09131722e3
commit 4dd669bd46

View File

@ -291,10 +291,20 @@ jobs:
strategy:
fail-fast: false
matrix:
# TODO: enable self-hosted-windows-8-cores once available
# TODO: enable namespace-profile-windows-8-cores once available
os: [namespace-profile-ubuntu-8-cores, namespace-profile-macos-8-cores, windows-16-cores]
shardIndex: [1, 2, 3, 4, 5, 6, 7, 8]
shardTotal: [8]
# Disable macos and windows tests on hourly e2e tests since we only care
# about server side changes.
# Technique from https://github.com/joaomcteixeira/python-project-skeleton/pull/31/files
isScheduled:
- ${{ github.event_name == 'schedule' }}
exclude:
- os: namespace-profile-macos-8-cores
isScheduled: true
- os: windows-16-cores
isScheduled: true
# TODO: add ref here for main and latest release tag
runs-on: ${{ matrix.os }}
steps: