mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 01:33:02 +01:00
workflows: pass action ID as the shuffle seed
To make sure each run is shuffled, we use the action ID as the seed.
This commit is contained in:
parent
88bd0cb806
commit
ef167835dd
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -316,7 +316,7 @@ jobs:
|
||||
run: ./scripts/install_bitcoind.sh $BITCOIN_VERSION
|
||||
|
||||
- name: run ${{ matrix.name }}
|
||||
run: make itest-parallel tranches=${{ env.TRANCHES }} ${{ matrix.args }}
|
||||
run: make itest-parallel tranches=${{ env.TRANCHES }} ${{ matrix.args }} shuffleseed=${{ github.run_id }}${{ strategy.job-index }}
|
||||
|
||||
- name: Send coverage
|
||||
if: ${{ contains(matrix.args, 'cover=1') }}
|
||||
@ -364,7 +364,7 @@ jobs:
|
||||
key-prefix: integration-test
|
||||
|
||||
- name: run itest
|
||||
run: make itest-parallel tranches=${{ env.TRANCHES }} windows=1
|
||||
run: make itest-parallel tranches=${{ env.TRANCHES }} windows=1 shuffleseed=${{ github.run_id }}
|
||||
|
||||
- name: kill any remaining lnd processes
|
||||
if: ${{ failure() }}
|
||||
@ -414,7 +414,7 @@ jobs:
|
||||
mv bitcoin-${BITCOIN_VERSION}.0 /tmp/bitcoin
|
||||
|
||||
- name: run itest
|
||||
run: PATH=$PATH:/tmp/bitcoin/bin make itest-parallel tranches=${{ env.TRANCHES }} backend=bitcoind
|
||||
run: PATH=$PATH:/tmp/bitcoin/bin make itest-parallel tranches=${{ env.TRANCHES }} backend=bitcoind shuffleseed=${{ github.run_id }}
|
||||
|
||||
- name: Zip log files on failure
|
||||
if: ${{ failure() }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user