Skip to content

Commit a14dd4d

Browse files
committed
tests
1 parent e5bfdb7 commit a14dd4d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
redis-version: ${{ matrix.redis-version }}
7373

7474
- name: Start Redis Sentinel
75-
run: docker run -d --name ${{env.REDIS_SENTINEL_HOST}} --link redis:redis -v $PWD/sentinel.conf:/sentinel.conf redis:${{ matrix.redis-version }} redis-server sentinel.conf --sentinel
75+
run: docker run -d --name ${{env.REDIS_SENTINEL_HOST}} -p 26379:26379 --link redis:redis -v $PWD/sentinel.conf:/sentinel.conf redis:${{ matrix.redis-version }} redis-server sentinel.conf --sentinel
7676

7777
- name: Execute tests (PDO with Sqlite)
7878
run: vendor/bin/phpunit

phpunit.xml.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@
1515
<group>Performance</group>
1616
</exclude>
1717
</groups>
18-
<php>
19-
<env name="REDIS_SENTINEL_HOST" value="redis-sentinel"/>
20-
</php>
2118
</phpunit>

0 commit comments

Comments
 (0)