Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Dec 10, 2024
1 parent a13b099 commit 9a4c0ce
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 54 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
secrets:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}

log-version:
runs-on: ubuntu-latest
steps:
- run: |
echo "Version: $(jq -r '.version' package.json)"
run-benchmarks:
name: ${{ matrix.benchmark_group.name }}
needs:
Expand All @@ -51,23 +57,10 @@ jobs:
fail-fast: false
matrix:
benchmark_group:
- { name: 'Examples', directories: './examples' }
- {
name: 'E2E Class',
directories: './tests/end_to_end/candid_rpc/class_syntax'
}
- {
name: 'E2E Functional',
directories: './tests/end_to_end/candid_rpc/functional_syntax'
}
- {
name: 'E2E HTTP Server',
directories: './tests/end_to_end/http_server'
}
- {
name: 'Property Class',
directories: './tests/property/candid_rpc/class_api'
}
uses: ./.github/workflows/benchmark_parallel.yml
secrets:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/benchmark_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ on:
required: true

jobs:
log-version:
runs-on: ubuntu-latest
steps:
- run: |
echo "Version: $(jq -r '.version' package.json)"
log-input-version:
runs-on: ubuntu-latest
steps:
- run: |
echo "Version: ${{ inputs.version }}"
prepare-benchmark:
name: Prepare Benchmark
runs-on: ubuntu-latest
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,51 +76,10 @@ jobs:
fail-fast: false
matrix:
test_group:
- { name: 'Examples', directories: './examples' }
- {
name: 'Examples (Experimental)',
directories: './examples',
run_experimental: true
}
- {
name: 'E2E Class',
directories: './tests/end_to_end/candid_rpc/class_syntax'
}
- {
name: 'E2E Class (Experimental)',
directories: './tests/end_to_end/candid_rpc/class_syntax',
run_experimental: true
}
- {
name: 'E2E Functional',
directories: './tests/end_to_end/candid_rpc/functional_syntax'
}
- {
name: 'E2E HTTP Server',
directories: './tests/end_to_end/http_server'
}
- {
name: 'Property Class',
directories: './tests/property/candid_rpc/class_api'
}
- {
name: 'Property Class (Experimental)',
directories: './tests/property/candid_rpc/class_api',
run_experimental: true
}
- {
name: 'Property Functional',
directories: './tests/property/candid_rpc/functional_api'
}
- {
name: 'Property IC API',
directories: './tests/property/ic_api'
}
- {
name: 'Property IC API (Experimental)',
directories: './tests/property/ic_api',
run_experimental: true
}
uses: ./.github/workflows/get_and_run_tests.yml
with:
directories: ${{ matrix.test_group.directories }}
Expand Down

0 comments on commit 9a4c0ce

Please sign in to comment.