Skip to content

Fixed wrong exitcode for cURL and docker-compose fails #24

Fixed wrong exitcode for cURL and docker-compose fails

Fixed wrong exitcode for cURL and docker-compose fails #24

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- '[0-9].[0-9]'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_cluster:
name: Redis EE (${{ matrix.type }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
type:
- proxy
- oss_cluster
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Load dotnenv for CI
uses: xom9ikk/dotenv@v2
with:
path: .github/workflows/modes
mode: ${{ matrix.type }}
- name: Build cluster
run: |
./build.sh
sleep 5
- name: Run PING command
run: |
docker exec master bash -c "/opt/redislabs/bin/redis-cli -p ${{ env.RE_DB_PORT }} ping123; exit $?"
exit $?