Fix ObjectOutput handling of top-level scalar responses #3254
Workflow file for this run
This file contains hidden or 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
| name: Continuous Integration | |
| run-name: "Continuous Integration${{ github.event.inputs.client_libs_test_image_tag != '' && format(' using image: {0}', github.event.inputs.client_libs_test_image_tag) || '' }}" | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**/*.md' | |
| - '**/*.rst' | |
| branches: | |
| - main | |
| - '[0-9].*' | |
| - 'feature/*' | |
| pull_request: | |
| branches: | |
| - main | |
| - '[0-9].*' | |
| - 'feature/*' | |
| schedule: | |
| - cron: '0 1 * * *' # nightly build | |
| workflow_dispatch: | |
| inputs: | |
| client_libs_test_image_tag: | |
| description: 'Custom client libs test image tag to use instead of redis_version' | |
| required: false | |
| default: '' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build and Test (Redis ${{ matrix.redis_version }}) | |
| if: github.event.inputs.client_libs_test_image_tag == '' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # Full version set runs only on the nightly schedule; PRs and pushes | |
| # test a reduced set (7.2 LTS, 7.4 LTS, 8.2 LTS, 8.8 current stable, 8.10 - next) to keep CI fast. | |
| redis_version: ${{ fromJSON(github.event_name == 'schedule' | |
| && '["8.10", "8.8", "8.6", "8.4", "8.2", "7.4", "7.2"]' | |
| || '["8.10", "8.8", "8.2", "7.4", "7.2"]') }} | |
| uses: ./.github/workflows/run-tests.yml | |
| with: | |
| redis_version: ${{ matrix.redis_version }} | |
| secrets: | |
| codecov_token: ${{ secrets.CODECOV_TOKEN }} | |
| build_using_custom_image: | |
| name: Build and Test using custom image | |
| if: github.event.inputs.client_libs_test_image_tag != '' | |
| uses: ./.github/workflows/run-tests.yml | |
| with: | |
| client_libs_test_image_tag: ${{ github.event.inputs.client_libs_test_image_tag }} | |
| skip_unit_tests: true | |
| upload_coverage: false |