2. TEST | Полное тестирование (RU) #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |
name: 2. TEST | Полное тестирование (RU) | |
# 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 | |
Testing-Telegram: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_Телеграм_ПолучитьИнформациюБота" | |
- 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_ТестыCLI.os "CLI_Телеграм_ПолучитьОбновления" | |
- name: Установить Webhook | |
if: ${{ cancelled() }} == false | |
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os "CLI_Телеграм_УстановитьWebhook" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьТекстовоеСообщение" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьКартинку" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьВидео" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьАудио" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьДокумент" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьГифку" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьМедиагруппу" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьМестоположение" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьКонтакт" | |
- 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_ТестыCLI.os "CLI_Телеграм_ОтправитьОпрос" | |
- 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_ТестыCLI.os "CLI_Телеграм_ПереслатьСообщение" | |
- 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_ТестыCLI.os "CLI_Телеграм_БанРазбан" | |
- 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_ТестыCLI.os "CLI_Телеграм_СоздатьСсылкуПриглашение" | |
- 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_ТестыCLI.os "CLI_Телеграм_ЗакрепитьОткрепитьСообщение" | |
- 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_ТестыCLI.os "CLI_Телеграм_ПолучитьЧислоУчастников" | |
- 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_ТестыCLI.os "CLI_Телеграм_ПолучитьСписокАватаровФорума" | |
- 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_ТестыCLI.os "CLI_Телеграм_СоздатьУдалитьТемуФорума" | |
- 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_ТестыCLI.os "CLI_Телеграм_ИзменитьИмяГлавнойТемы" | |
- 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_ТестыCLI.os "CLI_Телеграм_СкрытьПоказатьГлавнуюТему" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Telegram | |
path: ./docs/ru/results/Telegram | |
Testing-VK: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ВК_СоздатьСсылкуТокена" | |
- 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_ТестыCLI.os "CLI_ВК_СоздатьУдалитьПост" | |
- 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_ТестыCLI.os "CLI_ВК_СоздатьСоставнойПост" | |
- 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_ТестыCLI.os "CLI_ВК_СоздатьОпрос" | |
- 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_ТестыCLI.os "CLI_ВК_СохранитьУдалитьКартинку" | |
- 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_ТестыCLI.os "CLI_ВК_СоздатьИсторию" | |
- 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_ТестыCLI.os "CLI_ВК_МетодыОбсуждений" | |
- 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_ТестыCLI.os "CLI_ВК_ЛайкРепостКоммент" | |
- 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_ТестыCLI.os "CLI_ВК_ПолучитьСтатистику" | |
- 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_ТестыCLI.os "CLI_ВК_ПолучитьСтатистикуПостов" | |
- 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_ТестыCLI.os "CLI_ВК_СоздатьРекламнуюКампанию" | |
- 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_ТестыCLI.os "CLI_ВК_ОтправитьСообщение" | |
- 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_ТестыCLI.os "CLI_ВК_ПолучитьКатегорииТоваров" | |
- 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_ТестыCLI.os "CLI_ВК_СоздатьТоварПодборку" | |
- 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_ТестыCLI.os "CLI_ВК_СоздатьТоварСоСвойствами" | |
- 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_ТестыCLI.os "CLI_ВК_ПолучитьСписокТоваров" | |
- 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_ТестыCLI.os "CLI_ВК_ПолучитьСписокПодборок" | |
- 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_ТестыCLI.os "CLI_ВК_ПолучитьСписокСвойств" | |
- 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_ТестыCLI.os "CLI_ВК_ПолучитьСписокЗаказов" | |
- 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_ТестыCLI.os "CLI_ВК_ЗагрузитьВидео" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-VK | |
path: ./docs/ru/results/VK | |
Testing-Viber: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_Вайбер_ПолучениеИнформации" | |
- 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_ТестыCLI.os "CLI_Вайбер_ОтправкаСообщений" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Viber | |
path: ./docs/ru/results/Viber | |
Testing-Twitter: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_Твиттер_ДанныеАккаунта" | |
- 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_ТестыCLI.os "CLI_Твиттер_Твиты" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Twitter | |
path: ./docs/ru/results/Twitter | |
- 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/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ЯДиск_ПолучитьИнформациюОДиске" | |
- 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_ТестыCLI.os "CLI_ЯДиск_СоздатьПапку" | |
- name: Загрузить по URL и получить | |
if: ${{ cancelled() }} == false | |
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os "CLI_ЯДиск_ЗагрузитьПоАдресуПолучитьОбъект" | |
- 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_ТестыCLI.os "CLI_ЯДиск_ЗагрузитьУдалитьФайл" | |
- 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_ТестыCLI.os "CLI_ЯДиск_СоздатьКопиюОбъекта" | |
- 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_ТестыCLI.os "CLI_ЯДиск_ПолучитьСсылкуНаСкачивание" | |
- 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_ТестыCLI.os "CLI_ЯДиск_ПолучитьСписокФайлов" | |
- 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_ТестыCLI.os "CLI_ЯДиск_ПереместитьОбъект" | |
- 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_ТестыCLI.os "CLI_ЯДиск_ДействияПубличныхОбъектов" | |
- 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_ТестыCLI.os "CLI_ЯДиск_ПолучитьСписокОпубликованных" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-YandexDisk | |
path: ./docs/ru/results/YandexDisk | |
Testing-GoogleWorkspace: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ГВ_Авторизация" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-GoogleWorkspace | |
path: ./docs/ru/results/GoogleWorkspace | |
- 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/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ГВ_Авторизация" | |
- 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_ТестыCLI.os "CLI_ГК_ПолучитьСписокКалендарей" | |
- 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_ТестыCLI.os "CLI_ГК_СоздатьУдалитьКалендарь" | |
- 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_ТестыCLI.os "CLI_ГК_СоздатьУдалитьСобытие" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-GoogleCalendar | |
path: ./docs/ru/results/GoogleCalendar | |
Testing-GoogleDrive: | |
runs-on: ubuntu-latest | |
needs: Testing-GoogleWorkspace | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ГВ_Авторизация" | |
- 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_ТестыCLI.os "CLI_ГД_ПолучитьСписокКаталогов" | |
- 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_ТестыCLI.os "CLI_ГД_ЗагрузитьУдалитьФайл" | |
- 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_ТестыCLI.os "CLI_ГД_СоздатьУдалитьКомментарий" | |
- 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_ТестыCLI.os "CLI_ГД_СоздатьКаталог" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-GoogleDrive | |
path: ./docs/ru/results/GoogleDrive | |
Testing-GoogleSheets: | |
runs-on: ubuntu-latest | |
needs: Testing-GoogleWorkspace | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ГВ_Авторизация" | |
- 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_ТестыCLI.os "CLI_ГТ_СоздатьТаблицу" | |
- 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_ТестыCLI.os "CLI_ГТ_ЗаполнитьОчиститьЯчейки" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-GoogleSheets | |
path: ./docs/ru/results/GoogleSheets | |
Testing-Notion: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_НоушнАпи_СоздатьСтраницу" | |
- 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_ТестыCLI.os "CLI_НоушнАпи_СоздатьИзменитьБазу" | |
- 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_ТестыCLI.os "CLI_НоушнАпи_СоздатьУдалитьБлок" | |
- 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_ТестыCLI.os "CLI_НоушнАпи_ПолучитьПользователей" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Notion | |
path: ./docs/ru/results/Notion | |
Testing-Slack: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_Слак_ПолучитьИнформацию" | |
- 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_ТестыCLI.os "CLI_Слак_ОтправитьУдалитьСообщение" | |
- 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_ТестыCLI.os "CLI_Слак_СоздатьАрхивироватьКанал" | |
- 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_ТестыCLI.os "CLI_Слак_ОткрытьЗакрытьДиалог" | |
- 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_ТестыCLI.os "CLI_Слак_ЗагрузитьУдалитьФайл" | |
- 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_ТестыCLI.os "CLI_Слак_ЗагрузитьУдалитьВФ" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Slack | |
path: ./docs/ru/results/Slack | |
Testing-Airtable: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_АТ_СоздатьБазу" | |
- 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_ТестыCLI.os "CLI_АТ_СоздатьТаблицу" | |
- 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_ТестыCLI.os "CLI_АТ_СоздатьПоле" | |
- 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_ТестыCLI.os "CLI_АТ_СоздатьУдалитьЗаписи" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Airtable | |
path: ./docs/ru/results/Airtable | |
Testing-Dropbox: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ДропБокс_ПолучитьОбновитьТокен" | |
- 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_ТестыCLI.os "CLI_ДропБокс_ЗагрузитьФайл" | |
- name: Загрузить файл по URL | |
if: ${{ cancelled() }} == false | |
run: oscript /home/runner/.local/share/ovm/current/lib/1testrunner/src/main.os -run ./src/ru/OInt/tests/Modules/internal/OPI_ТестыCLI.os "CLI_ДропБокс_ЗагрузитьФайлПоURL" | |
- 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_ТестыCLI.os "CLI_ДропБокс_СоздатьКаталог" | |
- 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_ТестыCLI.os "CLI_ДропБокс_СоздатьУдалитьТег" | |
- 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_ТестыCLI.os "CLI_ДропБокс_ПолучитьАккаунт" | |
- 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_ТестыCLI.os "CLI_ДропБокс_РаботаСДоступами" | |
- 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_ТестыCLI.os "CLI_ДропБокс_ПолучитьСписокФайловПапки" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Dropbox | |
path: ./docs/ru/results/Dropbox | |
Testing-Bitrix24: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б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_ТестыCLI.os "CLI_Б24_РаботаСоСделками" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Bitrix24 | |
path: ./docs/ru/results/Bitrix24 | |
Testing-VkTeams: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ВКТ_ОтправкаСообщений" | |
- 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_ТестыCLI.os "CLI_ВКТ_ОбщиеМетоды" | |
- 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_ТестыCLI.os "CLI_ВКТ_УправлениеЧатами" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-VkTeams | |
path: ./docs/ru/results/VkTeams | |
Testing-Ozon: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ОзонАПИ_АтрибутыИХарактеристики" | |
- 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_ТестыCLI.os "CLI_ОзонАПИ_ЗагрузкаИОбновлениеТоваров" | |
- 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_ТестыCLI.os "CLI_ОзонАПИ_Штрихкоды" | |
- 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_ТестыCLI.os "CLI_ОзонАПИ_ЦеныИОстаткиТоваров" | |
- 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_ТестыCLI.os "CLI_ОзонАПИ_РаботаСАкциями" | |
- 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_ТестыCLI.os "CLI_ОзонАПИ_РаботаСоСкладами" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Ozon | |
path: ./docs/ru/results/Ozon | |
Testing-Neocities: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_НС_РаботаСФайлами" | |
- 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_ТестыCLI.os "CLI_НС_ПолучениеДанных" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-Neocities | |
path: ./docs/ru/results/Neocities | |
Testing-CDEK: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_СдэкАПИ_ОбщиеМетоды" | |
- 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_ТестыCLI.os "CLI_СдэкАПИ_РаботаСЗаказами" | |
- 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_ТестыCLI.os "CLI_СдэкАПИ_РаботаСЗаявкамиНаВызовКурьера" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-CDEK | |
path: ./docs/ru/results/CDEK | |
Testing-YandexMetrika: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_ЯМетрика_УправлениеМетками" | |
- 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_ТестыCLI.os "CLI_ЯМетрика_УправлениеСчетчиками" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-YandexMetrika | |
path: ./docs/ru/results/YandexMetrika | |
Testing-S3: | |
runs-on: ubuntu-latest | |
needs: [Decode, Build] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: otymko/[email protected] | |
with: | |
version: 1.9.1 | |
- 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: | | |
TEMP_DEB="$(mktemp)" && | |
wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.16.0/oint_1.16.0_all_ru.deb' && | |
sudo dpkg -i "$TEMP_DEB" | |
rm -f "$TEMP_DEB" | |
- 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_ТестыCLI.os "CLI_AWS_ОбщиеМетоды" | |
- 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_ТестыCLI.os "CLI_AWS_РаботаСБакетами" | |
- 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_ТестыCLI.os "CLI_AWS_РаботаСОбъектами" | |
- name: Записать логи | |
if: ${{ cancelled() }} == false | |
uses: actions/cache/save@v3 | |
with: | |
key: logs-S3 | |
path: ./docs/ru/results/S3 | |
Encode: | |
runs-on: ubuntu-latest | |
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,Testing-VkTeams,Testing-Ozon,Testing-Neocities,Testing-CDEK,Testing-YandexMetrika,Testing-S3] | |
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 }} | |
- name: Получить логи Telegram | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Telegram | |
path: ./docs/ru/results/Telegram | |
- 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" | |
- name: Получить логи VK | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-VK | |
path: ./docs/ru/results/VK | |
- 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" | |
- name: Получить логи Viber | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Viber | |
path: ./docs/ru/results/Viber | |
- 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" | |
- name: Получить логи Twitter | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Twitter | |
path: ./docs/ru/results/Twitter | |
- 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" | |
- name: Получить логи YandexDisk | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-YandexDisk | |
path: ./docs/ru/results/YandexDisk | |
- 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" | |
- name: Получить логи GoogleWorkspace | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-GoogleWorkspace | |
path: ./docs/ru/results/GoogleWorkspace | |
- 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" | |
- name: Получить логи GoogleCalendar | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-GoogleCalendar | |
path: ./docs/ru/results/GoogleCalendar | |
- 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" | |
- name: Получить логи GoogleDrive | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-GoogleDrive | |
path: ./docs/ru/results/GoogleDrive | |
- 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" | |
- name: Получить логи GoogleSheets | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-GoogleSheets | |
path: ./docs/ru/results/GoogleSheets | |
- 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" | |
- name: Получить логи Notion | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Notion | |
path: ./docs/ru/results/Notion | |
- 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" | |
- name: Получить логи Slack | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Slack | |
path: ./docs/ru/results/Slack | |
- 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" | |
- name: Получить логи Airtable | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Airtable | |
path: ./docs/ru/results/Airtable | |
- 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" | |
- name: Получить логи Dropbox | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Dropbox | |
path: ./docs/ru/results/Dropbox | |
- 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" | |
- name: Получить логи Bitrix24 | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Bitrix24 | |
path: ./docs/ru/results/Bitrix24 | |
- 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" | |
- name: Получить логи VkTeams | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-VkTeams | |
path: ./docs/ru/results/VkTeams | |
- name: Очистка логов VkTeams | |
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-VkTeams" | |
- name: Получить логи Ozon | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Ozon | |
path: ./docs/ru/results/Ozon | |
- name: Очистка логов Ozon | |
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-Ozon" | |
- name: Получить логи Neocities | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-Neocities | |
path: ./docs/ru/results/Neocities | |
- name: Очистка логов Neocities | |
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-Neocities" | |
- name: Получить логи CDEK | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-CDEK | |
path: ./docs/ru/results/CDEK | |
- name: Очистка логов CDEK | |
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-CDEK" | |
- name: Получить логи YandexMetrika | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-YandexMetrika | |
path: ./docs/ru/results/YandexMetrika | |
- name: Очистка логов YandexMetrika | |
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-YandexMetrika" | |
- name: Получить логи S3 | |
uses: actions/cache/restore@v3 | |
with: | |
key: logs-S3 | |
path: ./docs/ru/results/S3 | |
- name: Очистка логов S3 | |
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-S3" | |
- name: Записать данные | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_user_name: Vitaly the Alpaca (bot) | |
commit_user_email: [email protected] | |
commit_author: Vitaly the Alpaca <[email protected]> | |
commit_message: Обновление зашифрованных данных по результатам тестов (workflow) | |
Clear-Cache: | |
runs-on: ubuntu-latest | |
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, Testing-VkTeams, Testing-Ozon, Testing-Neocities, Testing-CDEK, Testing-YandexMetrika, Testing-S3, Encode] | |
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" |