Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maximyurchuk committed Apr 19, 2024
1 parent b8fd431 commit 14f9670
Showing 1 changed file with 94 additions and 2 deletions.
96 changes: 94 additions & 2 deletions .github/workflows/acceptance_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,103 @@ on:
test_label_regexp:
required: false
type: string
build_target:
type: string
default: "ydb/"
description: "limit build and test to specific target"
build_preset:
type: choice
default: "relwithdebinfo"
description: "Build preset"
options:
- debug
- release
- relwithdebinfo
- release-asan
- release-tsan
- release-msan
- release-cmake14
test_size:
type: choice
default: "small,medium,large"
description: "test size to run"
options:
- small
- small,medium
- small,medium,large
test_type:
type: choice
default: "unittest,py3test,py2test,pytest"
description: "type of tests to run"
options:
- unittest
- py3test,py2test,pytest
- unittest,py3test,py2test,pytest
run_build:
type: boolean
default: true
description: "run build"
run_tests:
type: boolean
default: true
description: "run tests"
test_threads:
type: string
default: "56"
description: "Test threads count"
link_threads:
type: string
default: "12"
description: "link threads count"
runner_label:
type: string
default: "auto-provisioned"
description: "runner label"
put_build_results_to_cache:
type: boolean
default: true
workflow_call:
inputs:
build_target:
type: string
default: "ydb/tests/acceptance"
build_preset:
type: string
default: "relwithdebinfo"
test_size:
type: string
default: "small,medium,large"
test_type:
type: string
default: "unittest,py3test,py2test,pytest"
run_build:
type: boolean
default: true
run_tests:
type: boolean
default: true
test_threads:
type: string
default: 56
description: "Test threads count"
link_threads:
type: string
default: 12
description: "link threads count"
runner_label:
type: string
default: "auto-provisioned"
put_build_results_to_cache:
type: boolean
default: true
commit_sha:
type: string
default: ""

jobs:
main:
name: Build and test ${{ inputs.build_preset }}
runs-on: [ self-hosted, auto-provisioned ]
name: Build and test ${{ inputs.build_preset }}
runs-on: [ self-hosted, "${{ inputs.runner_label }}", "${{ inputs.runner_additional_label || inputs.runner_label }}"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 14f9670

Please sign in to comment.