Skip to content

Commit

Permalink
Merge #1756: CI: Run bash scripts with -x
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kristapsk committed Jan 8, 2025
2 parents be8f9e9 + da5603a commit 54fed90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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

0 comments on commit 54fed90

Please sign in to comment.