Skip to content

Commit

Permalink
Merge pull request #1034 from powdr-labs/rename-ci-jobs
Browse files Browse the repository at this point in the history
Rename CI slow test jobs
  • Loading branch information
chriseth authored Feb 8, 2024
2 parents f582e3f + 7822315 commit b67641f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit b67641f

Please sign in to comment.