Repository navigation
Recover interrupted replica snapshot installations with durable intents #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: KeyLoad CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: keyload-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 | |
| with: | |
| global-json-file: global.json | |
| - run: dotnet restore KeyLoad.slnx --locked-mode | |
| - run: dotnet build KeyLoad.slnx --no-restore --configuration Release | |
| - run: dotnet test --project tests/KeyLoad.UnitTests --no-build --no-restore --configuration Release | |
| - run: dotnet test --project tests/KeyLoad.IntegrationTests --no-build --no-restore --configuration Release | |
| - run: dotnet test --project tests/KeyLoad.RecoveryTests --no-build --no-restore --configuration Release | |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: always() | |
| with: | |
| name: test-results-${{ matrix.os }} | |
| path: | | |
| **/TestResults/** | |
| artifacts/qualification/** | |
| if-no-files-found: ignore | |
| comparison-smoke: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 | |
| with: | |
| global-json-file: global.json | |
| - run: dotnet restore KeyLoad.slnx --locked-mode | |
| - run: dotnet build tests/KeyLoad.ComparisonTests --no-restore --configuration Release | |
| - run: dotnet test --project tests/KeyLoad.ComparisonTests --no-build --no-restore --configuration Release | |
| - name: Measure 1 KiB documents, eight clients and three graph hops | |
| run: dotnet test --project tests/KeyLoad.ComparisonTests --no-build --no-restore --configuration Release | |
| env: | |
| KEYLOAD_COMPARISON_DOCUMENTS: 128 | |
| KEYLOAD_COMPARISON_OPERATIONS: 60 | |
| KEYLOAD_COMPARISON_WARMUP: 5 | |
| KEYLOAD_COMPARISON_REPETITIONS: 3 | |
| KEYLOAD_COMPARISON_CONCURRENCY: 8 | |
| KEYLOAD_COMPARISON_DIMENSIONS: 32 | |
| KEYLOAD_COMPARISON_TOPK: 10 | |
| KEYLOAD_COMPARISON_GRAPHVERTICES: 128 | |
| KEYLOAD_COMPARISON_GRAPHDEPTH: 3 | |
| KEYLOAD_COMPARISON_REPORT_NAME: json-1k-c8 | |
| - name: Measure 16 KiB documents, four clients and five graph hops | |
| run: dotnet test --project tests/KeyLoad.ComparisonTests --no-build --no-restore --configuration Release | |
| env: | |
| KEYLOAD_COMPARISON_DOCUMENTS: 128 | |
| KEYLOAD_COMPARISON_OPERATIONS: 60 | |
| KEYLOAD_COMPARISON_WARMUP: 5 | |
| KEYLOAD_COMPARISON_REPETITIONS: 3 | |
| KEYLOAD_COMPARISON_CONCURRENCY: 4 | |
| KEYLOAD_COMPARISON_PAYLOADBYTES: 16384 | |
| KEYLOAD_COMPARISON_DIMENSIONS: 32 | |
| KEYLOAD_COMPARISON_TOPK: 10 | |
| KEYLOAD_COMPARISON_GRAPHVERTICES: 128 | |
| KEYLOAD_COMPARISON_GRAPHDEPTH: 5 | |
| KEYLOAD_COMPARISON_REPORT_NAME: json-16k-c4 | |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: always() | |
| with: | |
| name: comparison-suite | |
| path: artifacts/comparisons/** | |
| if-no-files-found: warn |