From 9a4c0ceaf937f0b716fa03c7b5093e8340cad28e Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 10 Dec 2024 14:38:19 -0700 Subject: [PATCH] test --- .github/workflows/benchmark.yml | 19 ++++------- .github/workflows/benchmark_parallel.yml | 12 +++++++ .github/workflows/test.yml | 41 ------------------------ 3 files changed, 18 insertions(+), 54 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 7df9fc7412..b531a84133 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -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: @@ -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 }} diff --git a/.github/workflows/benchmark_parallel.yml b/.github/workflows/benchmark_parallel.yml index bf0f04ef2e..53c11e5763 100644 --- a/.github/workflows/benchmark_parallel.yml +++ b/.github/workflows/benchmark_parallel.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6bd013cf62..f5becec75a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}