GitHub: increase itest parallelization to 16 tranches

This commit is contained in:
Oliver Gugger 2024-05-30 11:54:10 +02:00
parent a2266c6c73
commit a5c04bbd14
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -22,6 +22,8 @@ defaults:
env: env:
BITCOIN_VERSION: "27" BITCOIN_VERSION: "27"
TRANCHES: 16
# If you change this value, please change it in the following files as well: # If you change this value, please change it in the following files as well:
# /.travis.yml # /.travis.yml
@ -275,7 +277,7 @@ jobs:
run: ./scripts/install_bitcoind.sh $BITCOIN_VERSION run: ./scripts/install_bitcoind.sh $BITCOIN_VERSION
- name: run ${{ matrix.name }} - name: run ${{ matrix.name }}
run: make itest-parallel ${{ matrix.args }} run: make itest-parallel tranches=${{ env.TRANCHES }} ${{ matrix.args }}
- name: Send coverage - name: Send coverage
if: ${{ contains(matrix.args, 'cover=1') }} if: ${{ contains(matrix.args, 'cover=1') }}
@ -317,7 +319,7 @@ jobs:
key-prefix: integration-test key-prefix: integration-test
- name: run itest - name: run itest
run: make itest-parallel windows=1 run: make itest-parallel tranches=${{ env.TRANCHES }} windows=1
- name: kill any remaining lnd processes - name: kill any remaining lnd processes
if: ${{ failure() }} if: ${{ failure() }}
@ -361,7 +363,7 @@ jobs:
mv bitcoin-${BITCOIN_VERSION}.0 /tmp/bitcoin mv bitcoin-${BITCOIN_VERSION}.0 /tmp/bitcoin
- name: run itest - 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 - name: Zip log files on failure
if: ${{ failure() }} if: ${{ failure() }}