From 78223158fbd45ad9323ac6b233676019ac240738 Mon Sep 17 00:00:00 2001 From: Georg Wiese Date: Thu, 8 Feb 2024 12:37:48 +0100 Subject: [PATCH] Rename CI slow test jobs --- .github/workflows/pr-tests.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index eef258f688..21e36ccc95 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -102,8 +102,8 @@ jobs: strategy: matrix: test: - - "'test(=test_keccak) | test(=test_vec_median) | test(=instruction_tests::addi) | test(=arith_test)'" - - "'test(=test_many_chunks)'" + - "subset1" + - "subset2" needs: build runs-on: ubuntu-latest @@ -134,6 +134,11 @@ jobs: - uses: taiki-e/install-action@nextest - name: Run slow tests # Number threads is set to 1 because the runner does not have enough memory for more. - run: > - PILCOM=$(pwd)/pilcom/ cargo nextest run --archive-file tests.tar.zst --verbose --run-ignored=ignored-only --no-capture - -E ${{ matrix.test }} + run: | + if [[ "${{ matrix.test }}" == "subset1" ]]; then + TESTS="test(=test_keccak) | test(=test_vec_median) | test(=instruction_tests::addi) | test(=arith_test)" + elif [[ "${{ matrix.test }}" == "subset2" ]]; then + TESTS="test(=test_many_chunks)" + fi + PILCOM=$(pwd)/pilcom/ cargo nextest run --archive-file tests.tar.zst --verbose --run-ignored=ignored-only --no-capture -E "$TESTS" + shell: bash