mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-16 11:38:11 +02:00
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
name: CLI | Обновить yml процесса тестирования
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
jobs:
|
|
|
|
Make-CLI-Tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: write
|
|
contents: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
token: ${{secrets.TOKEN}}
|
|
- uses: otymko/setup-onescript@v1.4
|
|
with:
|
|
version: 1.9.0
|
|
|
|
- name: Установить cmdline, asserts и osparser
|
|
run: |
|
|
opm install cmdline
|
|
opm install asserts
|
|
opm install osparser
|
|
|
|
- name: Сформировать список методов ОПИ -> CLI
|
|
run: oscript ./.github/workflows/os/cli_parse.os
|
|
|
|
- name: Выполнить скрипт создания yml-файла
|
|
run: oscript ./.github/workflows/os/cli_testmaker.os > ./.github/workflows/cli_test.yml
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_user_name: Vitaly the Alpaca (bot)
|
|
commit_user_email: vitaly.the.alpaca@gmail.com
|
|
commit_author: Vitaly the Alpaca <vitaly.the.alpaca@gmail.com>
|
|
commit_message: Обновление yml файла - cli_test.yml (workflow)
|