Skip to content

Commit 1606d11

Browse files
committed
Extract TEST_PHP_ARGS to env
1 parent ce46a4a commit 1606d11

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ jobs:
7272
version: ${{ matrix.php-version }}
7373

7474
- name: "Run Tests"
75-
run: TEST_PHP_ARGS="-q -x --show-diff -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP" make test
75+
run: make test
7676
env:
77+
TEST_PHP_ARGS: "-q -x --show-diff -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP"
7778
MONGODB_URI: ${{ steps.setup-mongodb.outputs.cluster-uri }}
7879

7980
pecl-test:
@@ -177,6 +178,7 @@ jobs:
177178
topology: "server"
178179

179180
- name: "Run Tests"
180-
run: TEST_PHP_ARGS="-q -x --show-diff -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP" make test
181+
run: make test
181182
env:
183+
TEST_PHP_ARGS: "-q -x --show-diff -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP"
182184
MONGODB_URI: ${{ steps.setup-mongodb.outputs.cluster-uri }}

0 commit comments

Comments
 (0)