Skip to content

Commit 54fed90

Browse files
committed
Merge JoinMarket-Org#1756: CI: Run bash scripts with -x
da5603a CI: Run bash scripts with -x (Kristaps Kaupe) Pull request description: Makes it easier to understand what's happening when, for example, some random `install.sh` dependency build fails. Top commit has no ACKs. Tree-SHA512: 242bb461c8451620eb58f0494539ebbe008d9af3740ccaa8aef8cee8172e0ef0e9cefd55a80d57f011babed4a9c01cac2e0b32b055fae2031f67fa183e97b46a
2 parents be8f9e9 + da5603a commit 54fed90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/unittests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup joinmarket + virtualenv
3434
if: steps.cache-venv.outputs.cache-hit != 'true'
3535
run: |
36-
./install.sh --develop --with-qt
36+
bash -x ./install.sh --develop --with-qt
3737
./jmvenv/bin/python -m pip install --upgrade pip
3838
- name: Lint with flake8
3939
run: source ./jmvenv/bin/activate && ./test/lint/lint-python.sh
@@ -48,7 +48,7 @@ jobs:
4848
- name: Install bitcoind
4949
env:
5050
BITCOIND_VERSION: ${{ matrix.bitcoind-version }}
51-
run: ./test/testrunner/install_bitcoind.sh
51+
run: bash -x ./test/testrunner/install_bitcoind.sh
5252
- name: Cache miniircd
5353
uses: actions/cache@v3
5454
env:
@@ -57,4 +57,4 @@ jobs:
5757
path: miniircd/miniircd
5858
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('test/run_tests.sh') }}
5959
- name: Run tests
60-
run: source ./jmvenv/bin/activate && ./test/run_tests.sh
60+
run: source ./jmvenv/bin/activate && bash -x ./test/run_tests.sh

0 commit comments

Comments
 (0)