-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: add ci for different redis version
- Loading branch information
1 parent
f7a1c63
commit fb9802a
Showing
8 changed files
with
247 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 4.0.0 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test-with-redis-4-0-0: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: clone and build redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout 4.0 | ||
make -j | ||
- name: start redis | ||
run: | | ||
./redis/src/redis-server & | ||
- name: set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: install requirements | ||
run: pip install -r requirements.txt | ||
|
||
- name: run test | ||
run: python redis_compatibility_test.py --testfile cts.json --specific-version 4.0.0 --show-failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 5.0.0 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test-with-redis-5-0-0: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: clone and build redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout 5.0 | ||
make -j | ||
- name: start redis | ||
run: | | ||
./redis/src/redis-server & | ||
- name: set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: install requirements | ||
run: pip install -r requirements.txt | ||
|
||
- name: run test | ||
run: python redis_compatibility_test.py --testfile cts.json --specific-version 5.0.0 --show-failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 6.0.0 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test-with-redis-6-0-0: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: clone and build redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout 6.0 | ||
make -j | ||
- name: start redis | ||
run: | | ||
./redis/src/redis-server & | ||
- name: set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: install requirements | ||
run: pip install -r requirements.txt | ||
|
||
- name: run test | ||
run: python redis_compatibility_test.py --testfile cts.json --specific-version 6.0.0 --show-failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 6.2.0 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test-with-redis-6-2-0: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: clone and build redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout 6.2 | ||
make -j | ||
- name: start redis | ||
run: | | ||
./redis/src/redis-server & | ||
- name: set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: install requirements | ||
run: pip install -r requirements.txt | ||
|
||
- name: run test | ||
run: python redis_compatibility_test.py --testfile cts.json --specific-version 6.2.0 --show-failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 7.0.0 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test-with-redis-7-0-0: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: clone and build redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout 7.0 | ||
make -j | ||
- name: start redis | ||
run: | | ||
./redis/src/redis-server & | ||
- name: set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: install requirements | ||
run: pip install -r requirements.txt | ||
|
||
- name: run test | ||
run: python redis_compatibility_test.py --testfile cts.json --specific-version 7.0.0 --show-failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 7.2.0 | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test-with-redis-7-2-0: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: clone and build redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout 7.2 | ||
make -j | ||
- name: start redis | ||
run: | | ||
./redis/src/redis-server & | ||
- name: set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: install requirements | ||
run: pip install -r requirements.txt | ||
|
||
- name: run test | ||
run: python redis_compatibility_test.py --testfile cts.json --specific-version 7.2.0 --show-failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: unstable | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test-with-redis-unstable: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: clone and build redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
make -j | ||
- name: start redis | ||
run: | | ||
./redis/src/redis-server & | ||
- name: set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: install requirements | ||
run: pip install -r requirements.txt | ||
|
||
- name: run test | ||
run: python redis_compatibility_test.py --testfile cts.json --show-failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters