Skip to content

Commit

Permalink
Update: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed Feb 17, 2024
1 parent d9a8bea commit 0152622
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,20 @@ jobs:
uses: ./.github/actions/ci-prepare
with:
env: ${{ env.ENV_SERVICE }}
- name: Test Env
if: ${{ env.test_prepared && always() }}
run: |
docker ps
docker exec ${{ inputs.env }} base -c "echo 'info' | nc redis 6379 -w 1"
docker exec ${{ inputs.env }} base -c "echo 'info' | nc redis-cluster-node-0 6379 -w 1
docker exec ${{ inputs.env }} base -c "echo 'info' | nc redis-cluster-node-1 6379 -w 1
docker exec ${{ inputs.env }} base -c "echo 'info' | nc redis-cluster-node-2 6379 -w 1
- name: Test
if: ${{ env.test_prepared && always() }}
run: docker exec ${ENV_SERVICE} composer test
- name: Test redis
if: ${{ env.test_prepared && always() }}
run: |
docker ps
echo "info" | nc redis 6379 -w 1
echo "info" | nc redis-cluster-node-0 6379 -w 1
echo "info" | nc redis-cluster-node-1 6379 -w 1
echo "info" | nc redis-cluster-node-2 6379 -w 1
echo "======"
docker exec ${ENV_SERVICE} composer test-redis
# - name: Test swoole
# if: ${{ env.test_prepared && always() }}
Expand Down

0 comments on commit 0152622

Please sign in to comment.