From a5c04bbd148c53b936c914b5e4aa5f5f58ee527f Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Thu, 30 May 2024 11:54:10 +0200 Subject: [PATCH] GitHub: increase itest parallelization to 16 tranches --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c025f0d2d..35ac97c0a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,8 @@ defaults: env: BITCOIN_VERSION: "27" + + TRANCHES: 16 # If you change this value, please change it in the following files as well: # /.travis.yml @@ -275,7 +277,7 @@ jobs: run: ./scripts/install_bitcoind.sh $BITCOIN_VERSION - name: run ${{ matrix.name }} - run: make itest-parallel ${{ matrix.args }} + run: make itest-parallel tranches=${{ env.TRANCHES }} ${{ matrix.args }} - name: Send coverage if: ${{ contains(matrix.args, 'cover=1') }} @@ -317,7 +319,7 @@ jobs: key-prefix: integration-test - name: run itest - run: make itest-parallel windows=1 + run: make itest-parallel tranches=${{ env.TRANCHES }} windows=1 - name: kill any remaining lnd processes if: ${{ failure() }} @@ -361,7 +363,7 @@ jobs: mv bitcoin-${BITCOIN_VERSION}.0 /tmp/bitcoin - name: run itest - run: PATH=$PATH:/tmp/bitcoin/bin make itest-parallel backend=bitcoind + run: PATH=$PATH:/tmp/bitcoin/bin make itest-parallel tranches=${{ env.TRANCHES }} backend=bitcoind - name: Zip log files on failure if: ${{ failure() }}