name: Regression-run_compatibility run-name: >- ${{ inputs.initial_version_ref != '' && inputs.initial_version_ref || 'default-init'}} -> ${{ inputs.inter_version_ref != '' && inputs.inter_version_ref || 'default-inter'}} -> ${{ inputs.target_version_ref != '' && inputs.target_version_ref || 'default-target'}} on: schedule: - cron: "0 23 * * *" # At 23:00 every day workflow_dispatch: inputs: pull_request_input: description: 'Pull request number (overrides default branches), ex: 12345' required: false default: '' initial_version_ref: description: Initial(oldest) version (ex. stable-24-4, should exist on S3) type: string required: false inter_version_ref: description: Intermediate version (ex. stable-25-1-2/25.1.1.18, should exist on S3) type: string required: false target_version_ref: description: Target(newest) version ("current" - compiles binary from the chosen branch) type: string required: false jobs: main: name: Regression-run_compatibility uses: ./.github/workflows/run_tests.yml secrets: inherit strategy: fail-fast: false matrix: build_preset: ["relwithdebinfo", "release-asan", "release-tsan", "release-msan"] with: test_targets: ydb/tests/compatibility/ branches: ${{ inputs.pull_request_input && format('pull/{0}', inputs.pull_request_input) || github.ref_name }} build_preset: ${{ matrix.build_preset }} additional_ya_make_args: >- ${{inputs.initial_version_ref != '' && format(' -DYDB_COMPAT_INIT_REF={0} ', inputs.initial_version_ref) || ''}}${{ inputs.inter_version_ref != '' && format(' -DYDB_COMPAT_INTER_REF={0} ', inputs.inter_version_ref) || ''}}${{ inputs.target_version_ref != '' && format(' -DYDB_COMPAT_TARGET_REF={0}', inputs.target_version_ref) || ''}}