Skip to content

Commit

Permalink
Update Tendis-CI.yml
Browse files Browse the repository at this point in the history
fix: use python3/pip3 to replace python(default 2.7)
fix: modify GoTest condition, for add one more go test
  • Loading branch information
Evil-crow authored and TendisDev committed Mar 12, 2021
1 parent 739d418 commit 3241647
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Tendis-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
fetch-depth: 2
- name: Prepare Env
run: |
python -m pip install --upgrade pip
pip install cpplint
python3 -m pip install --upgrade pip
pip3 install cpplint
export PATH=$PATH:~/.local/bin/
cpplint --version
- name: Lint
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
fi
cd -
errcnt3=`grep "go passed" src/tendisplus/integrate_test/gotest.log|wc -l`
if [ $errcnt3 -ne 6 ]; then
if [ $errcnt3 -ne 7 ]; then
grep "fatal" src/tendisplus/integrate_test/gotest.log
grep "go passed" src/tendisplus/integrate_test/gotest.log
exit $errcnt3
Expand Down

0 comments on commit 3241647

Please sign in to comment.