Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit b140d1f

Browse files
committed
Updated command run for windows envs
1 parent 92dd8f4 commit b140d1f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,15 @@ jobs:
4949
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
5050
5151
- name: Execute tests with Local driver
52-
run: REPLICATION_DRIVER=local phpunit --coverage-text --coverage-clover=coverage_local.xml
52+
run: phpunit --coverage-text --coverage-clover=coverage_local.xml
53+
env:
54+
REPLICATION_DRIVER: local
5355

5456
- name: Execute tests with Redis driver
55-
run: REPLICATION_DRIVER=redis phpunit --coverage-text --coverage-clover=coverage_redis.xml
57+
run: phpunit --coverage-text --coverage-clover=coverage_redis.xml
5658
if: ${{ matrix.os == 'ubuntu-latest' }}
59+
env:
60+
REPLICATION_DRIVER: redis
5761

5862
- uses: codecov/codecov-action@v1
5963
with:

0 commit comments

Comments
 (0)