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() }}