Skip to content

Commit 9154b9d

Browse files
committed
debug tests
Change-Id: I5f3a8232a954892cdd5cab87cff5e7a275af8ffe
1 parent 8456d79 commit 9154b9d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/bats.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,16 @@ jobs:
4747
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
- name: Set up environment (download dependencies)
4949
run: |
50-
brew install kind
5150
brew install docker
52-
- name: Setup Bats and bats libs
53-
id: setup-bats-mac
54-
uses: bats-core/bats-action@3.0.0
51+
brew install kind
52+
brew install bats-core
5553
- name: Bats tests
56-
shell: bash
54+
shell: 'unbuffer bash {0}' # work around tty issues
5755
env:
58-
BATS_LIB_PATH: ${{ steps.setup-bats-mac.outputs.lib-path }}
59-
TERM: xterm
60-
run: bats -o _artifacts tests/
61-
56+
TERM: linux # fix tput for tty issue work around
57+
run: |
58+
bash --version
59+
bash -c "time bats -o _artifacts --trace --formatter tap test"
6260
- name: Upload logs
6361
if: always()
6462
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)