mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-18 11:31:58 +02:00
GitHub: increase itest parallelization to 16 tranches
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -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() }}
|
||||||
|
Reference in New Issue
Block a user