2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
name: OINT | Полное тестирование
|
|
|
|
|
|
|
|
# Controls when the workflow will run
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
Decode:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: ${{ always() }}
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Расшифровать тестовые данные
|
|
|
|
run: gpg --quiet --batch --yes --decrypt --passphrase="$ENC_JSON" --output ./data.json ./data.json.gpg
|
|
|
|
env:
|
|
|
|
ENC_JSON: ${{ secrets.ENC_JSON }}
|
|
|
|
- name: Записать тестовые данные в кэш
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
Build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
- name: Записать артефакт
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
name: oint
|
2024-05-31 23:10:37 +02:00
|
|
|
path: ./src/ru/OInt/*.ospx
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
Testing-Telegram:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить информацию бота
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ПолучитьИнформациюБота"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить обновления
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ПолучитьОбновления"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Установить Webhook
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_УстановитьWebhook"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить текстовое сообщение
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьТекстовоеСообщение"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить картинку
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьКартинку"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить видео
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьВидео"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить аудио
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьАудио"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить документ
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьДокумент"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить гифку
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьГифку"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить медиагруппу
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьМедиагруппу"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить местоположение
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьМестоположение"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить контакт
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьКонтакт"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить опрос
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ОтправитьОпрос"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Переслать сообщение
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ПереслатьСообщение"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Бан/Разбан
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_БанРазбан"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать ссылку-приглашение
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_СоздатьСсылкуПриглашение"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Закрепить/Открепить сообщение
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ЗакрепитьОткрепитьСообщение"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить число участников
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ПолучитьЧислоУчастников"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список аватаров форума
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ПолучитьСписокАватаровФорума"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Удалить тему форума
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_СоздатьУдалитьТемуФорума"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Изменить имя главной темы
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_ИзменитьИмяГлавнойТемы"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Скрыть/Показать главную тему
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Телеграм_СкрытьПоказатьГлавнуюТему"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-Telegram
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Telegram
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-VK:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Создать ссылку получения токена
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СоздатьСсылкуТокена"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Удалить пост
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СоздатьУдалитьПост"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-11 09:57:20 +02:00
|
|
|
- name: Создать/Удалить составной пост
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СоздатьСоставнойПост"
|
2024-05-11 09:57:20 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
- name: Создать опрос
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СоздатьОпрос"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Добавить/Удалить картинку
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СохранитьУдалитьКартинку"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать историю
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СоздатьИсторию"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Действия с обсуждениями
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_МетодыОбсуждений"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Лайк/Репост/Комментарий
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ЛайкРепостКоммент"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить статистику
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ПолучитьСтатистику"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить статистику постов
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ПолучитьСтатистикуПостов"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать рекламную кампанию
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СоздатьРекламнуюКампанию"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить сообщение
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ОтправитьСообщение"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить категории товаров
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ПолучитьКатегорииТоваров"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать товар и подборку
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СоздатьТоварПодборку"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать товар со свойствами
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_СоздатьТоварСоСвойствами"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список товаров
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ПолучитьСписокТоваров"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список подборок
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ПолучитьСписокПодборок"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список свойств
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ПолучитьСписокСвойств"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список заказов
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ПолучитьСписокЗаказов"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-10 09:38:03 +02:00
|
|
|
- name: Загрузить видео
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ВК_ЗагрузитьВидео"
|
2024-05-10 09:38:03 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-VK
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/VK
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-Viber:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить информацию канала
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ПолучитьИнформациюОКанале"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить данные пользователя
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ПолучитьДанныеПользователя"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить онлайн пользователей
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ПолучитьОнлайнПользователей"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить текстовое сообщение
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ОтправитьТекстовоеСообщение"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить картинку
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ОтправитьКартинку"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить файл
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ОтправитьФайл"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить контакт
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ОтправитьКонтакт"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить локацию
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ОтправитьЛокацию"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить ссылку
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Вайбер_ОтправитьСсылку"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-Viber
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Viber
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-Twitter:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить ссылку авторизации
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Твиттер_ПолучитьСсылкуАвторизации"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Обновить токен
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Твиттер_ОбновитьТокен"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Текстовый твит
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Твиттер_СоздатьТекстовыйТвит"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Твит с картинкой
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Твиттер_СоздатьТвитСКартинкой"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Твит с видео
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Твиттер_СоздатьТвитСВидео"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Твит с гиф
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Твиттер_СоздатьТвитСГиф"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Твит с опросом
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Твиттер_СоздатьТвитСОпросом"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-Twitter
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Twitter
|
2024-05-28 15:24:04 +02:00
|
|
|
|
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
- name: Записать измененные данные
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: test-data_new
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
|
|
|
|
Testing-YandexDisk:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить информацию о диске
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ПолучитьИнформациюОДиске"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать папку
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_СоздатьПапку"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Загрузить по URL и получить
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ЗагрузитьПоАдресуПолучитьОбъект"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Загрузить/Удалить файл
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ЗагрузитьУдалитьФайл"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать копию объекта
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_СоздатьКопиюОбъекта"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить ссылку на скачивание
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ПолучитьСсылкуНаСкачивание"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список файлов
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ПолучитьСписокФайлов"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Переместить объект
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ПереместитьОбъект"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Действия с публичными объектами
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ДействияПубличныхОбъектов"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список опубликованных
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ЯДиск_ПолучитьСписокОпубликованных"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-YandexDisk
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/YandexDisk
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-GoogleWorkspace:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить ссылку авторизации
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГВ_ПолучитьСсылкуАвторизации"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить токен
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГВ_ПолучитьТокен"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Обновить токен
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГВ_ОбновитьТокен"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-GoogleWorkspace
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/GoogleWorkspace
|
2024-05-28 15:24:04 +02:00
|
|
|
|
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
- name: Записать измененные данные
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: test-data_google
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
|
|
|
|
Testing-GoogleCalendar:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: Testing-GoogleWorkspace
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data_google
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить список календарей
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГК_ПолучитьСписокКалендарей"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Удалить календарь
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГК_СоздатьУдалитьКалендарь"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Удалить событие
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГК_СоздатьУдалитьСобытие"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список событий
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГК_ПолучитьСписокСобытий"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-GoogleCalendar
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/GoogleCalendar
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-GoogleDrive:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: Testing-GoogleWorkspace
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data_google
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить список каталогов
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГД_ПолучитьСписокКаталогов"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Загрузить/Удалить Файл
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГД_ЗагрузитьУдалитьФайл"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Удалить кооментарий
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГД_СоздатьУдалитьКомментарий"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Удалить каталог
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГД_СоздатьКаталог"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-GoogleDrive
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/GoogleDrive
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-GoogleSheets:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: Testing-GoogleWorkspace
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data_google
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Создать таблицу
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГТ_СоздатьТаблицу"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить таблицу
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГТ_ПолучитьТаблицу"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Заполнить/Очистить ячейки
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ГТ_ЗаполнитьОчиститьЯчейки"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-GoogleSheets
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/GoogleSheets
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-Notion:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Создать страницу
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_СоздатьСтраницу"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Изменить базу
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_СоздатьИзменитьБазу"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить информацию о странице
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_ПолучитьИнформациюОСтранице"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить информацию о базе
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_ПолучитьИнформациюОБазе"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать страницу в базу
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_СоздатьСтраницуВБазу"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Изменить свойства страницы
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_ИзменитьСвойстваСтраницы"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Удалить блок
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_СоздатьУдалитьБлок"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить пользователей
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_ПолучитьПользователей"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить данные пользователя
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Ноушн_ПолучитьДанныеПользователя"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-Notion
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Notion
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-Slack:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить информацию о боте
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ПолучитьИнформациюОБоте"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список пользователей
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ПолучитьСписокПользователей"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список областей
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ПолучитьСписокОбластей"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить/Удалить сообщение
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ОтправитьУдалитьСообщение"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Отправить/Удалить эфемерное
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ОтправитьУдалитьЭфемерное"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить отложенные сообщения
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ПолучитьОтложенныеСообщения"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Архивировать канал
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_СоздатьАрхивироватьКанал"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список каналов
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ПолучитьСписокКаналов"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Открыть/Закрыть диалог
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ОткрытьЗакрытьДиалог"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список файлов
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ПолучитьСписокФайлов"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Загрузить/Удалить файл
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ЗагрузитьУдалитьФайл"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Получить список внеш. файлов
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ПолучитьСписокВФ"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Загрузить/Удалить внеш. файл
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Слак_ЗагрузитьУдалитьВФ"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-Slack
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Slack
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
Testing-Airtable:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-08 13:24:18 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Создать/Изменить базу
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "АТ_СоздатьБазу"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Изменить таблицу
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "АТ_СоздатьТаблицу"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
|
|
|
- name: Создать/Изменить поле
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "АТ_СоздатьПоле"
|
2024-05-08 13:24:18 +02:00
|
|
|
|
2024-05-09 13:31:21 +02:00
|
|
|
- name: Создать/Удалить записи
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "АТ_СоздатьУдалитьЗаписи"
|
2024-05-09 13:31:21 +02:00
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-Airtable
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Airtable
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-10 09:38:03 +02:00
|
|
|
|
2024-05-19 12:20:10 +02:00
|
|
|
Testing-Dropbox:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
2024-05-31 23:10:37 +02:00
|
|
|
cd ./src/ru/OInt
|
2024-05-19 12:20:10 +02:00
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Получить/Обновить токен
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ДропБокс_ПолучитьОбновитьТокен"
|
2024-05-19 12:20:10 +02:00
|
|
|
|
|
|
|
- name: Загрузить файл
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ДропБокс_ЗагрузитьФайл"
|
2024-05-19 12:20:10 +02:00
|
|
|
|
2024-05-25 13:27:51 +02:00
|
|
|
- name: Загрузить файл по URL
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ДропБокс_ЗагрузитьФайлПоURL"
|
2024-05-25 13:27:51 +02:00
|
|
|
|
2024-05-24 22:25:42 +02:00
|
|
|
- name: Создать каталог
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ДропБокс_СоздатьКаталог"
|
2024-05-24 22:25:42 +02:00
|
|
|
|
2024-05-25 15:41:05 +02:00
|
|
|
- name: Создать/Удалить тег
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ДропБокс_СоздатьУдалитьТег"
|
2024-05-25 15:41:05 +02:00
|
|
|
|
2024-05-26 09:37:42 +02:00
|
|
|
- name: Получить данные аккаунта
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ДропБокс_ПолучитьАккаунт"
|
2024-05-26 09:37:42 +02:00
|
|
|
|
2024-05-27 18:58:06 +02:00
|
|
|
- name: Работа с доступами
|
|
|
|
if: ${{ cancelled() }} == false
|
2024-05-31 23:10:37 +02:00
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ДропБокс_РаботаСДоступами"
|
2024-05-27 18:58:06 +02:00
|
|
|
|
2024-06-09 00:07:55 +02:00
|
|
|
- name: Получить список файлов папки
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "ДропБокс_ПолучитьСписокФайловПапки"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-Dropbox
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Dropbox
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-06-11 15:33:50 +02:00
|
|
|
|
|
|
|
Testing-Bitrix24:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: [Decode, Build]
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Установить asserts и 1testrunner
|
|
|
|
run: |
|
|
|
|
opm install asserts
|
|
|
|
opm install 1testrunner
|
|
|
|
|
|
|
|
- name: Установить OInt
|
|
|
|
run: |
|
|
|
|
cd ./src/ru/OInt
|
|
|
|
opm build
|
|
|
|
opm install *.ospx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Работа с токеном
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Б24_РаботаСТокеном"
|
|
|
|
|
|
|
|
- name: Серверное время
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Б24_СерверноеВремя"
|
|
|
|
|
|
|
|
- name: Работа с новостями
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Б24_РаботаСНовостями"
|
|
|
|
|
2024-06-15 19:35:58 +02:00
|
|
|
- name: Работа с задачами
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Б24_РаботаСЗадачами"
|
|
|
|
|
2024-06-19 09:52:18 +02:00
|
|
|
- name: Работа с диском
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os "Б24_РаботаСДиском"
|
|
|
|
|
2024-06-11 15:33:50 +02:00
|
|
|
- name: Записать логи
|
|
|
|
if: ${{ cancelled() }} == false
|
|
|
|
uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
key: logs-Bitrix24
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Bitrix24
|
2024-06-11 15:33:50 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
Encode:
|
|
|
|
runs-on: ubuntu-latest
|
2024-06-11 15:33:50 +02:00
|
|
|
needs: [Testing-Telegram,Testing-VK,Testing-Viber,Testing-Twitter,Testing-YandexDisk,Testing-GoogleWorkspace,Testing-GoogleCalendar,Testing-GoogleDrive,Testing-GoogleSheets,Testing-Notion,Testing-Slack,Testing-Airtable,Testing-Dropbox,Testing-Bitrix24]
|
2024-05-08 13:24:18 +02:00
|
|
|
if: ${{ always() }}
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Обновить данные в репозитории
|
|
|
|
run: git pull https://github.com/Bayselonarrend/OpenIntegrations
|
|
|
|
|
|
|
|
- name: Получить тестовые данные из кэша
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: test-data_new
|
|
|
|
path: ./data.json
|
|
|
|
|
|
|
|
- name: Зашифровать данные обратно
|
|
|
|
continue-on-error: false
|
|
|
|
|
|
|
|
run: |
|
|
|
|
rm -f ./data.json.gpg
|
|
|
|
gpg --batch --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json
|
|
|
|
rm -f ./data.json
|
|
|
|
env:
|
|
|
|
ENC_JSON: ${{ secrets.ENC_JSON }}
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи Telegram
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-Telegram
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Telegram
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов Telegram
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-Telegram"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи VK
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-VK
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/VK
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов VK
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-VK"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи Viber
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-Viber
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Viber
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов Viber
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-Viber"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи Twitter
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-Twitter
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Twitter
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов Twitter
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-Twitter"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи YandexDisk
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-YandexDisk
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/YandexDisk
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов YandexDisk
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-YandexDisk"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи GoogleWorkspace
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-GoogleWorkspace
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/GoogleWorkspace
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов GoogleWorkspace
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-GoogleWorkspace"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи GoogleCalendar
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-GoogleCalendar
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/GoogleCalendar
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов GoogleCalendar
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-GoogleCalendar"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи GoogleDrive
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-GoogleDrive
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/GoogleDrive
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов GoogleDrive
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-GoogleDrive"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи GoogleSheets
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-GoogleSheets
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/GoogleSheets
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов GoogleSheets
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-GoogleSheets"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи Notion
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-Notion
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Notion
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов Notion
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-Notion"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи Slack
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-Slack
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Slack
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов Slack
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-Slack"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи Airtable
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-Airtable
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Airtable
|
2024-05-28 15:24:04 +02:00
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
|
|
|
- name: Очистка логов Airtable
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-Airtable"
|
|
|
|
|
2024-05-28 15:24:04 +02:00
|
|
|
- name: Получить логи Dropbox
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-Dropbox
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Dropbox
|
2024-05-28 15:24:04 +02:00
|
|
|
|
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
- name: Очистка логов Dropbox
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-Dropbox"
|
|
|
|
|
2024-06-11 15:33:50 +02:00
|
|
|
- name: Получить логи Bitrix24
|
|
|
|
uses: actions/cache/restore@v3
|
|
|
|
with:
|
|
|
|
key: logs-Bitrix24
|
2024-06-11 16:19:52 +02:00
|
|
|
path: ./docs/ru/results/Bitrix24
|
2024-06-11 15:33:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
- name: Очистка логов Bitrix24
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=logs-Bitrix24"
|
|
|
|
|
2024-05-28 15:48:37 +02:00
|
|
|
|
2024-05-08 13:24:18 +02:00
|
|
|
- name: Записать данные
|
|
|
|
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: Обновление зашифрованных данных по результатам тестов (workflow)
|
|
|
|
|
|
|
|
|
|
|
|
Clear-Cache:
|
|
|
|
runs-on: ubuntu-latest
|
2024-06-11 15:33:50 +02:00
|
|
|
needs: [Testing-Telegram, Testing-VK, Testing-Viber, Testing-Twitter, Testing-YandexDisk, Testing-GoogleWorkspace, Testing-GoogleCalendar, Testing-GoogleDrive, Testing-GoogleSheets, Testing-Notion, Testing-Slack, Testing-Airtable, Testing-Dropbox, Testing-Bitrix24, Encode]
|
2024-05-08 13:24:18 +02:00
|
|
|
if: ${{ always() }}
|
|
|
|
steps:
|
|
|
|
- name: Очистка основного кэша
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data"
|
|
|
|
|
|
|
|
- name: Очистка кэша Google
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data_google"
|
|
|
|
|
|
|
|
- name: Очистка кэша Twitter
|
|
|
|
run: |
|
|
|
|
curl -L \
|
|
|
|
-X DELETE \
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.TOKEN }}" \
|
|
|
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
|
|
"https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data_new"
|