@@ -28,17 +28,12 @@ jobs:
2828 # Fail build if there are warnings
2929 # build with TLS just for compilation coverage
3030 run : make -j4 all-with-unit-tests SERVER_CFLAGS='-Werror' BUILD_TLS=yes USE_FAST_FLOAT=yes
31- - name : install old server for compatibility testing
32- run : |
33- cd tests/tmp
34- wget https://download.valkey.io/releases/valkey-8.1.3-noble-x86_64.tar.gz
35- tar -xvf valkey-8.1.3-noble-x86_64.tar.gz
3631 - name : test
3732 run : |
3833 sudo apt-get install tcl8.6 tclx
39- ./runtest --verbose --tags -slow --dump-logs --other-server-path tests/tmp/valkey-8.1.3-noble-x86_64/bin/valkey-server
34+ ./runtest --verbose --tags -slow --dump-logs
4035 - name : module api test
41- run : CFLAGS='-Werror' ./runtest-moduleapi --verbose --dump-logs --other-server-path tests/tmp/valkey-8.1.3-noble-x86_64/bin/valkey-server
36+ run : CFLAGS='-Werror' ./runtest-moduleapi --verbose --dump-logs
4237 - name : validate commands.def up to date
4338 run : |
4439 touch src/commands/ping.json
4944 run : |
5045 ./src/valkey-unit-tests
5146
47+ test-ubuntu-latest-compatibility :
48+ runs-on : ubuntu-latest
49+ strategy :
50+ fail-fast : false
51+ matrix :
52+ server :
53+ - {version: "7.2.10", file: "valkey-7.2.10-noble-x86_64.tar.gz"}
54+ - {version: "8.0.4", file: "valkey-8.0.4-noble-x86_64.tar.gz"}
55+ - {version: "8.1.3", file: "valkey-8.1.3-noble-x86_64.tar.gz"}
56+ steps :
57+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
58+ - name : make
59+ # Fail build if there are warnings
60+ # build with TLS just for compilation coverage
61+ run : make -j4 all-with-unit-tests SERVER_CFLAGS='-Werror' BUILD_TLS=yes USE_FAST_FLOAT=yes
62+
63+ - name : Install old server (${{ matrix.server.version }}) for compatibility testing
64+ run : |
65+ mkdir -p tests/tmp
66+ cd tests/tmp
67+ wget https://download.valkey.io/releases/${{ matrix.server.file }}
68+ tar -xvf ${{ matrix.server.file }}
69+
70+ - name : Run compatibility tests against ${{ matrix.server.version }}
71+ run : |
72+ sudo apt-get install -y tcl8.6 tclx
73+ ./runtest --verbose --tags "-slow needs:other-server" --dump-logs \
74+ --other-server-path tests/tmp/valkey-${{ matrix.server.version }}-noble-x86_64/bin/valkey-server
75+
76+ - name : Module API tests against ${{ matrix.server.version }}
77+ run : |
78+ CFLAGS='-Werror' ./runtest-moduleapi --tags needs:other-server --verbose --dump-logs \
79+ --other-server-path tests/tmp/valkey-${{ matrix.server.version }}-noble-x86_64/bin/valkey-server
80+
5281 test-ubuntu-latest-cmake :
5382 runs-on : ubuntu-latest
5483 steps :
0 commit comments