Test aginst the first stable version of valkey.

Now that valkey has an official release we can test against that and
remove the "continue-on-error" flag in CI.
This commit is contained in:
michael-grunder
2024-04-16 11:17:37 -07:00
committed by Michael Grunder
parent 3d7be35816
commit f350dc342c

View File

@@ -121,7 +121,7 @@ jobs:
- name: Install ValKey
if: matrix.server == 'valkey'
run: |
git clone https://github.com/valkey-io/valkey.git
git clone --depth 1 --branch 7.2.5 https://github.com/valkey-io/valkey.git
cd valkey && BUILD_TLS=yes sudo make install
- name: Build phpredis
@@ -173,7 +173,6 @@ jobs:
done
- name: Start ${{ matrix.server }} sentinel
continue-on-error: ${{ matrix.server == 'valkey' }}
run: |
wget raw.githubusercontent.com/redis/redis/7.0/sentinel.conf
for PORT in {26379..26380}; do
@@ -205,7 +204,6 @@ jobs:
--cluster-replicas 1 --user phpredis -a phpredis
- name: Run tests
continue-on-error: ${{ matrix.server == 'valkey' }}
run: |
php tests/TestRedis.php --class Redis --user phpredis --auth phpredis
php tests/TestRedis.php --class RedisArray --user phpredis --auth phpredis