mirror of
https://github.com/bia-technologies/yaxunit.git
synced 2024-12-03 08:45:31 +02:00
refactoring
This commit is contained in:
parent
d423477147
commit
d5d8ceed00
3
.github/workflows/main-build.yml
vendored
3
.github/workflows/main-build.yml
vendored
@ -2,6 +2,9 @@ name: Build and test
|
||||
on:
|
||||
push:
|
||||
branches: [ feature/**, develop ]
|
||||
pull_request:
|
||||
branches: [ develop ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
20
.github/workflows/run-tests-linux.yml
vendored
20
.github/workflows/run-tests-linux.yml
vendored
@ -7,23 +7,28 @@ on:
|
||||
description: 'Platform version'
|
||||
type: string
|
||||
required: true
|
||||
|
||||
locale:
|
||||
type: string
|
||||
required: false
|
||||
default: ru_RU
|
||||
|
||||
artifact_name:
|
||||
type: string
|
||||
required: true
|
||||
|
||||
fail_on_failure:
|
||||
type: boolean
|
||||
required: false
|
||||
default: true
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.v8_version }}-${{ inputs.locale }}-Linux
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
execute-tests:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: download artifact
|
||||
@ -110,8 +115,7 @@ jobs:
|
||||
timeout-minutes: 5
|
||||
|
||||
- name: run server
|
||||
run: |
|
||||
ibsrv --db-path=file-db --daemon
|
||||
run: ibsrv --db-path=file-db --daemon
|
||||
|
||||
- name: create test-config
|
||||
uses: DamianReeves/write-file-action@master
|
||||
@ -126,12 +130,12 @@ jobs:
|
||||
}
|
||||
|
||||
- name: run tests
|
||||
run: |
|
||||
export DISPLAY=:99
|
||||
export LANG=${{ inputs.locale }}.UTF-8
|
||||
1cv8c /WS "http://localhost:8314" /C"RunUnitTests=${{github.workspace}}/unit.json" /DisableStartupDialogs /DisableStartupMessages /DisableUnrecoverableErrorMessage /Out output.log
|
||||
run: 1cv8c /WS "http://localhost:8314" /C"RunUnitTests=${{github.workspace}}/unit.json" /DisableStartupDialogs /DisableStartupMessages /DisableUnrecoverableErrorMessage /Out output.log
|
||||
timeout-minutes: 5
|
||||
|
||||
env:
|
||||
DISPLAY: :99
|
||||
LANG: "${{ inputs.locale }}.UTF-8"
|
||||
|
||||
- name: view output
|
||||
if: always()
|
||||
run: cat output.log
|
||||
|
4
.github/workflows/run-tests-macos.yml
vendored
4
.github/workflows/run-tests-macos.yml
vendored
@ -7,16 +7,20 @@ on:
|
||||
description: 'Platform version'
|
||||
type: string
|
||||
required: true
|
||||
|
||||
locale:
|
||||
type: string
|
||||
required: false
|
||||
default: ru_RU
|
||||
|
||||
artifact_name:
|
||||
type: string
|
||||
required: true
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.v8_version }}-${{ inputs.locale }}-MacOS
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
execute-tests:
|
||||
runs-on: macos-latest
|
||||
|
4
.github/workflows/run-tests-windows.yml
vendored
4
.github/workflows/run-tests-windows.yml
vendored
@ -7,16 +7,20 @@ on:
|
||||
description: 'Platform version'
|
||||
type: string
|
||||
required: true
|
||||
|
||||
locale:
|
||||
type: string
|
||||
required: false
|
||||
default: ru_RU
|
||||
|
||||
artifact_name:
|
||||
type: string
|
||||
required: true
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.v8_version }}-${{ inputs.locale }}-Windows
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
execute-tests:
|
||||
runs-on: windows-latest
|
||||
|
Loading…
Reference in New Issue
Block a user