Skip to content

Commit 922f057

Browse files
author
Lucas McDonald
committed
sync
1 parent 007442e commit 922f057

File tree

6 files changed

+37
-1
lines changed

6 files changed

+37
-1
lines changed

.github/workflows/ci_examples_python.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ on:
2626
jobs:
2727
testPython:
2828
strategy:
29+
max-parallel: 1
2930
matrix:
30-
python-version: [3.11]
31+
python-version: [3.11, 3.12, 3.13]
3132
os: [macos-13]
3233
runs-on: ${{ matrix.os }}
3334
permissions:

.github/workflows/ci_test_vector_python.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
matrix:
3131
library: [TestVectors]
3232
python-version: [3.11, 3.12, 3.13]
33+
# Only ubuntu for now;
34+
# As of 4.10.1, Dafny's Python JSON processing is still very slow (1 hour to run test vectors on ubuntu)
35+
# and Github's macOS runners are also very slow (~2x slower than ubuntu).
36+
# If Dafny's JSON processing speed is improved, we can add macOS back.
3337
os: [ubuntu-22.04]
3438
interface: [client, resource, table]
3539
runs-on: ${{ matrix.os }}

.github/workflows/daily_ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@ jobs:
7171
uses: ./.github/workflows/ci_examples_python.yml
7272
with:
7373
dafny: ${{needs.getVersion.outputs.version}}
74+
daily-ci-python-test-vectors:
75+
needs: getVersion
76+
uses: ./.github/workflows/ci_test_vector_python.yml
77+
with:
78+
dafny: ${{needs.getVersion.outputs.version}}
79+
daily-ci-python-static-analysis:
80+
needs: getVersion
81+
uses: ./.github/workflows/ci_static_analysis_python.yml
82+
with:
83+
dafny: ${{needs.getVersion.outputs.version}}
7484
daily-ci-net-test-vectors:
7585
needs: getVersion
7686
uses: ./.github/workflows/ci_test_vector_net.yml

.github/workflows/manual.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ jobs:
6767
with:
6868
dafny: ${{ inputs.dafny }}
6969
regenerate-code: ${{ inputs.regenerate-code }}
70+
manual-ci-python-test-vectors:
71+
uses: ./.github/workflows/ci_test_vector_python.yml
72+
with:
73+
dafny: ${{ inputs.dafny }}
74+
regenerate-code: ${{ inputs.regenerate-code }}
75+
manual-ci-python-static-analysis:
76+
uses: ./.github/workflows/ci_static_analysis_python.yml
77+
with:
78+
dafny: ${{ inputs.dafny }}
79+
regenerate-code: ${{ inputs.regenerate-code }}
7080
manual-ci-net-test-vectors:
7181
uses: ./.github/workflows/ci_test_vector_net.yml
7282
with:

.github/workflows/nightly.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ jobs:
6464
with:
6565
dafny: "nightly-latest"
6666
regenerate-code: true
67+
dafny-nightly-python-test-vectors:
68+
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
69+
uses: ./.github/workflows/ci_test_vector_python.yml
70+
with:
71+
dafny: "nightly-latest"
72+
regenerate-code: true
6773
dafny-nightly-test-vectors-net:
6874
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
6975
uses: ./.github/workflows/ci_test_vector_net.yml

.github/workflows/push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ jobs:
6969
pr-ci-python-static-analysis:
7070
needs: getVersion
7171
uses: ./.github/workflows/ci_static_analysis_python.yml
72+
pr-ci-python-test-vectors:
73+
needs: getVersion
74+
uses: ./.github/workflows/ci_test_vector_python.yml
75+
with:
76+
dafny: ${{needs.getVersion.outputs.version}}
7277
pr-ci-net-test-vectors:
7378
needs: getVersion
7479
uses: ./.github/workflows/ci_test_vector_net.yml

0 commit comments

Comments
 (0)