Skip to content

Commit e5a2892

Browse files
committed
try macos as regular build
1 parent e208de5 commit e5a2892

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

.github/workflows/MacOsBuild.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
schedule:
44
- cron: "45 4 * * 1-5" # Monday to Friday at 06:45 CEST (04:45 UTC)
55
workflow_dispatch:
6-
pull_request:
76

87
concurrency:
98
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/build.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Build
22
on:
3+
schedule:
4+
- cron: "0 3 * * *" # Every day at 03:00 UTC
35
push:
46
branches: [master, branch-*, dogfood-*]
57
pull_request:
@@ -128,18 +130,23 @@ jobs:
128130
artifactory-deployer-role: qa-deployer
129131

130132
qa:
131-
name: "Test Python ${{ matrix.python-version }}"
132-
runs-on: github-ubuntu-latest-s
133+
name: "[${{ matrix.runner }}] Test Python ${{ matrix.python-version }}"
134+
runs-on: ${{ matrix.runner }}
133135
needs: [install_deps]
134136
permissions:
135137
id-token: write
136138
contents: write
137139
strategy:
138140
fail-fast: false
139141
matrix:
142+
runner: [github-ubuntu-latest-s, macos-latest-xlarge]
140143
python-version:
141144
["3.9.18", "3.9.6", "3.10.13", "3.11.7", "3.12.1", "3.13.2", "3.14.0"]
142145
steps:
146+
- name: Setup Cloudflare WARP
147+
if: ${{ matrix.runner == 'macos-latest-xlarge' }}
148+
uses: SonarSource/gh-action_setup-cloudflare-warp@v1
149+
143150
- name: Checkout repository
144151
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
145152
- name: Configure poetry
@@ -167,14 +174,22 @@ jobs:
167174
poetry run pytest tests/
168175
169176
its:
170-
name: "Integration Tests"
171-
runs-on: github-ubuntu-latest-s
177+
name: "[${{ matrix.runner }}] Integration Tests"
178+
runs-on: ${{ matrix.runner }}
172179
permissions:
173180
id-token: write
174181
contents: write
182+
strategy:
183+
fail-fast: false
184+
matrix:
185+
runner: [github-ubuntu-latest-s, macos-latest-xlarge]
175186
env:
176187
SONARQUBE_VERSION: 25.3.0.104237
177188
steps:
189+
- name: Setup Cloudflare WARP
190+
if: ${{ matrix.runner == 'macos-latest-xlarge' }}
191+
uses: SonarSource/gh-action_setup-cloudflare-warp@v1
192+
178193
- name: Checkout repository
179194
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
180195
- name: Cache SonarQube

0 commit comments

Comments
 (0)