Skip to content

Commit 87e8743

Browse files
committed
i dont think we need 3.10 testing like this
1 parent fc75946 commit 87e8743

File tree

2 files changed

+34
-10
lines changed

2 files changed

+34
-10
lines changed

.github/workflows/api-test-lint-deploy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
strategy:
7575
matrix:
7676
os: ['windows-2022', 'ubuntu-24.04', 'macos-latest']
77-
python: ['3.10', '3.12']
77+
python: ['3.12']
7878
with-ot-hardware: ['true', 'false']
7979
exclude:
8080
- os: 'windows-2022'
@@ -187,8 +187,8 @@ jobs:
187187
runs-on: 'ubuntu-24.04'
188188
if: github.event_name == 'push'
189189
permissions:
190-
id-token: write # Required for OIDC
191-
contents: read # Required for checkout
190+
id-token: write # Required for OIDC
191+
contents: read # Required for checkout
192192
steps:
193193
- uses: 'actions/checkout@v4'
194194
with:

.github/workflows/shared-data-test-lint-deploy.yaml

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
matrix:
7171
os: ['windows-2022', 'ubuntu-24.04', 'macos-latest']
72-
python: ['3.10', '3.12']
72+
python: ['3.12']
7373

7474
runs-on: '${{ matrix.os }}'
7575
steps:
@@ -150,8 +150,8 @@ jobs:
150150
runs-on: 'ubuntu-24.04'
151151
if: github.event_name == 'push'
152152
permissions:
153-
id-token: write # Required for OIDC
154-
contents: read # Required for checkout
153+
id-token: write # Required for OIDC
154+
contents: read # Required for checkout
155155
steps:
156156
- uses: 'actions/checkout@v4'
157157
with:
@@ -279,7 +279,15 @@ jobs:
279279
notify-success:
280280
name: 'Notify Build Success'
281281
runs-on: 'ubuntu-latest'
282-
needs: [python-lint, python-test, js-test, python-deploy, publish-switch, publish-to-npm]
282+
needs:
283+
[
284+
python-lint,
285+
python-test,
286+
js-test,
287+
python-deploy,
288+
publish-switch,
289+
publish-to-npm,
290+
]
283291
if: always() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && needs.python-lint.result == 'success' && needs.python-test.result == 'success' && needs.js-test.result == 'success' && needs.python-deploy.result == 'success' && needs.publish-switch.result == 'success' && needs.publish-to-npm.result == 'success'
284292
steps:
285293
- name: Checkout Repository
@@ -294,7 +302,15 @@ jobs:
294302
notify-failure:
295303
name: 'Notify Build Failure'
296304
runs-on: 'ubuntu-latest'
297-
needs: [python-lint, python-test, js-test, python-deploy, publish-switch, publish-to-npm]
305+
needs:
306+
[
307+
python-lint,
308+
python-test,
309+
js-test,
310+
python-deploy,
311+
publish-switch,
312+
publish-to-npm,
313+
]
298314
if: always() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && (needs.python-lint.result == 'failure' || needs.python-test.result == 'failure' || needs.js-test.result == 'failure' || needs.python-deploy.result == 'failure' || needs.publish-switch.result == 'failure' || needs.publish-to-npm.result == 'failure')
299315
steps:
300316
- name: Checkout Repository
@@ -322,7 +338,7 @@ jobs:
322338
if [[ "${{ needs.publish-to-npm.result }}" == "failure" ]]; then
323339
failed_jobs+=("publish-to-npm")
324340
fi
325-
341+
326342
IFS=','
327343
echo "failed_jobs=${failed_jobs[*]}" >> $GITHUB_OUTPUT
328344
@@ -337,7 +353,15 @@ jobs:
337353
notify-cancelled:
338354
name: 'Notify Build Cancelled'
339355
runs-on: 'ubuntu-latest'
340-
needs: [python-lint, python-test, js-test, python-deploy, publish-switch, publish-to-npm]
356+
needs:
357+
[
358+
python-lint,
359+
python-test,
360+
js-test,
361+
python-deploy,
362+
publish-switch,
363+
publish-to-npm,
364+
]
341365
if: always() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && (needs.python-lint.result == 'cancelled' || needs.python-test.result == 'cancelled' || needs.js-test.result == 'cancelled' || needs.python-deploy.result == 'cancelled' || needs.publish-switch.result == 'cancelled' || needs.publish-to-npm.result == 'cancelled')
342366
steps:
343367
- name: Checkout Repository

0 commit comments

Comments
 (0)