Skip to content

chore: run test vectors in net and java on MacOS #1844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci_test_vector_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,17 @@ jobs:
os: [
# Run on ubuntu image that comes pre-configured with docker
ubuntu-22.04,
macos-13,
]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
contents: read
steps:
- name: Setup Docker
if: matrix.os == 'macos-13' && matrix.library == 'TestVectors'
uses: douglascamata/[email protected]

- name: Setup DynamoDB Local
uses: rrainn/[email protected]
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci_test_vector_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,17 @@ jobs:
os: [
# Run on ubuntu image that comes pre-configured with docker
ubuntu-22.04,
macos-13,
]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
contents: read
steps:
- name: Setup Docker
if: matrix.os == 'macos-13' && matrix.library == 'TestVectors'
uses: douglascamata/[email protected]

- name: Setup DynamoDB Local
uses: rrainn/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
- name: Setup Docker
if: matrix.os == 'macos-13' && matrix.library == 'TestVectors'
uses: douglascamata/setup-docker-macos-action@v1-alpha
uses: douglascamata/setup-docker-macos-action@v1.0.0

- name: Setup DynamoDB Local
if: matrix.library == 'TestVectors'
Expand Down
9 changes: 3 additions & 6 deletions TestVectors/dafny/DDBEncryption/src/TestVectors.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -665,13 +665,10 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
results[i] := FullSearch(client, queries[i]);
}

var configs := tableEncryptionConfigs.Keys;
while configs != {}
decreases |configs|
invariant forall k <- configs :: k in tableEncryptionConfigs
var configs := SortedSets.ComputeSetToOrderedSequence2(tableEncryptionConfigs.Keys, CharLess);
for i := 0 to |configs|
{
var config :| config in configs;
configs := configs - { config };
var config := configs[i];
BasicQueryTestConfig(tableEncryptionConfigs[config], results, globalRecords);
}
}
Expand Down
Loading