From da5603aef65e309223ba2febd90692ac407ebb53 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Wed, 8 Jan 2025 20:27:59 +0200 Subject: [PATCH] CI: Run bash scripts with -x --- .github/workflows/unittests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 61e27f2be..43a30ad57 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -33,7 +33,7 @@ jobs: - name: Setup joinmarket + virtualenv if: steps.cache-venv.outputs.cache-hit != 'true' run: | - ./install.sh --develop --with-qt + bash -x ./install.sh --develop --with-qt ./jmvenv/bin/python -m pip install --upgrade pip - name: Lint with flake8 run: source ./jmvenv/bin/activate && ./test/lint/lint-python.sh @@ -48,7 +48,7 @@ jobs: - name: Install bitcoind env: BITCOIND_VERSION: ${{ matrix.bitcoind-version }} - run: ./test/testrunner/install_bitcoind.sh + run: bash -x ./test/testrunner/install_bitcoind.sh - name: Cache miniircd uses: actions/cache@v3 env: @@ -57,4 +57,4 @@ jobs: path: miniircd/miniircd key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('test/run_tests.sh') }} - name: Run tests - run: source ./jmvenv/bin/activate && ./test/run_tests.sh + run: source ./jmvenv/bin/activate && bash -x ./test/run_tests.sh