From ca9895946c14d22c480e3828ab604551ef51b924 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 25 Jul 2024 23:27:47 +0200 Subject: [PATCH] Matrix run. --- .github/workflows/pr-tests.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 6418ebb9d..af196a4bd 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -60,6 +60,17 @@ jobs: test_quick: needs: build runs-on: ubuntu-latest + strategy: + matrix: + test: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" steps: - uses: actions/checkout@v3 @@ -87,7 +98,7 @@ jobs: run: git clone https://github.com/0xPolygonHermez/pilcom.git && cd pilcom && npm install - uses: taiki-e/install-action@nextest - name: Run default tests - run: cargo nextest run --archive-file tests.tar.zst --verbose + run: cargo nextest run --archive-file tests.tar.zst --verbose --partition count:"${{ matrix.test }}"/8 env: PILCOM: ${{ github.workspace }}/pilcom/ - name: Run examples