Skip to content

Commit

Permalink
Add test-extension arg
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes committed Nov 26, 2024
1 parent 1f560b2 commit 383e30f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/distro-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ mian()
info Show extension installed
"$PREFIX/bin/php" -dextension=swow --ri swow
info Run extension tests
exec "$PREFIX/bin/php" "${SWOW_SRC}/tools/test-extension.php"
exec "$PREFIX/bin/php" "${SWOW_SRC}/tools/test-extension.php" .
}

mian "$1"
6 changes: 3 additions & 3 deletions .github/workflows/master-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
id: test-extension
continue-on-error: true
run: |
TEST_SWOW_POSTGRESQL=1 composer test-extension
TEST_SWOW_POSTGRESQL=1 composer test-extension .
- name: Run library tests
id: test-library
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
id: test-extension
continue-on-error: true
run: |
TEST_SWOW_POSTGRESQL=1 composer test-extension
TEST_SWOW_POSTGRESQL=1 composer test-extension .
- name: Run library tests
id: test-library
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
& "${env:PGBIN}\initdb.exe" --locale=C -E UTF-8 -U postgres "C:\pgsqldata"
& "${env:PGBIN}\pg_ctl.exe" -D "C:\pgsqldata" start
${env:TEST_SWOW_POSTGRESQL} = "1"
composer test-extension
composer test-extension .
- name: Run library tests
shell: cmd
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
id: test-extension
continue-on-error: true
run: |
TEST_SWOW_POSTGRESQL=1 composer test-extension
TEST_SWOW_POSTGRESQL=1 composer test-extension .
- name: Run library tests
id: test-library
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
id: test-extension
continue-on-error: true
run: |
TEST_SWOW_POSTGRESQL=1 composer test-extension
TEST_SWOW_POSTGRESQL=1 composer test-extension .
- name: Run library tests
id: test-library
Expand Down Expand Up @@ -399,7 +399,7 @@ jobs:
--excluded_line_regex "\s*\}.*" `
--excluded_line_regex "\s*\{\s*" `
--modules php_swow.dll `
-- C:\tools\php\php.exe C:\tools\php\composer.phar test-extension
-- C:\tools\php\php.exe C:\tools\php\composer.phar test-extension .
- name: Run library tests
shell: pwsh
Expand Down

0 comments on commit 383e30f

Please sign in to comment.