Skip to content

Commit 60b9ac1

Browse files
committed
feat: Introduce bashunit test suite
This introduces the bashunit test suite as requested by @jrfnl. I opted to include the binary in the repository to make local testing easier & to lock the dependency on the project side instead of relying on external scripts. This tests both a simple happy and a simple unhappy flow, as well as a test case for #1112.
1 parent 4ed90f8 commit 60b9ac1

File tree

5 files changed

+3511
-4
lines changed

5 files changed

+3511
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,9 @@ jobs:
247247
env:
248248
PHP_CODESNIFFER_CBF: '1'
249249

250-
# Note: The code style check is run multiple times against every PHP version
251-
# as it also acts as an integration test.
252-
- name: 'PHPCS: check code style without cache, no parallel'
250+
- name: "Run bashunit tests"
253251
if: ${{ matrix.custom_ini == false }}
254-
run: php "bin/phpcs" --no-cache --parallel=1
252+
run: "./scripts/bashunit -p tests/EndToEnd"
255253

256254
- name: Download the PHPCS phar
257255
if: ${{ matrix.custom_ini == false }}

0 commit comments

Comments
 (0)