Skip to content

Commit 505c57b

Browse files
committed
Add Bats to CI
1 parent de55275 commit 505c57b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,20 @@ jobs:
4747
uses: actions/setup-python@v5
4848
with:
4949
python-version: '3.12'
50-
- name: Install dependencies
50+
- name: Install Python Dependencies
5151
run: |
5252
python -m pip install --upgrade pip
5353
pip install pytest==8.1.2 GitPython==3.1.43 testpath==0.6.0
54-
- name: Unit test
54+
- name: Setup Bats and bats libs
55+
id: setup-bats
56+
uses: bats-core/bats-action@3.0.0
57+
- name: Test with Pytest
5558
run: make test
59+
- name: Test with Bats
60+
env:
61+
BATS_LIB_PATH: ${{ steps.setup-bats.outputs.lib-path }}
62+
TERM: xterm
63+
run: bats ./tests
5664

5765
build:
5866
strategy:

0 commit comments

Comments
 (0)