|
1 | 1 | name: Build |
2 | 2 | on: |
| 3 | + schedule: |
| 4 | + - cron: "0 3 * * *" # Every day at 03:00 UTC |
3 | 5 | push: |
4 | 6 | branches: [master, branch-*, dogfood-*] |
5 | 7 | pull_request: |
@@ -128,18 +130,23 @@ jobs: |
128 | 130 | artifactory-deployer-role: qa-deployer |
129 | 131 |
|
130 | 132 | 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 }} |
133 | 135 | needs: [install_deps] |
134 | 136 | permissions: |
135 | 137 | id-token: write |
136 | 138 | contents: write |
137 | 139 | strategy: |
138 | 140 | fail-fast: false |
139 | 141 | matrix: |
| 142 | + runner: [github-ubuntu-latest-s, macos-latest-xlarge] |
140 | 143 | python-version: |
141 | 144 | ["3.9.18", "3.9.6", "3.10.13", "3.11.7", "3.12.1", "3.13.2", "3.14.0"] |
142 | 145 | steps: |
| 146 | + - name: Setup Cloudflare WARP |
| 147 | + if: ${{ matrix.runner == 'macos-latest-xlarge' }} |
| 148 | + uses: SonarSource/gh-action_setup-cloudflare-warp@v1 |
| 149 | + |
143 | 150 | - name: Checkout repository |
144 | 151 | uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 |
145 | 152 | - name: Configure poetry |
@@ -167,14 +174,22 @@ jobs: |
167 | 174 | poetry run pytest tests/ |
168 | 175 |
|
169 | 176 | its: |
170 | | - name: "Integration Tests" |
171 | | - runs-on: github-ubuntu-latest-s |
| 177 | + name: "[${{ matrix.runner }}] Integration Tests" |
| 178 | + runs-on: ${{ matrix.runner }} |
172 | 179 | permissions: |
173 | 180 | id-token: write |
174 | 181 | contents: write |
| 182 | + strategy: |
| 183 | + fail-fast: false |
| 184 | + matrix: |
| 185 | + runner: [github-ubuntu-latest-s, macos-latest-xlarge] |
175 | 186 | env: |
176 | 187 | SONARQUBE_VERSION: 25.3.0.104237 |
177 | 188 | steps: |
| 189 | + - name: Setup Cloudflare WARP |
| 190 | + if: ${{ matrix.runner == 'macos-latest-xlarge' }} |
| 191 | + uses: SonarSource/gh-action_setup-cloudflare-warp@v1 |
| 192 | + |
178 | 193 | - name: Checkout repository |
179 | 194 | uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 |
180 | 195 | - name: Cache SonarQube |
|
0 commit comments