-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (43 loc) · 1.4 KB
/
test_links.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Тест ссылок
on:
push:
branches:
- dev/PolGen-Lite
paths:
- '.github/workflows/test_links.yml'
- 'tabs/install.py'
pull_request:
branches:
- dev/PolGen-Lite
paths:
- '.github/workflows/test_links.yml'
- 'tabs/install.py'
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Проверка кода
uses: actions/checkout@v4
- name: Настройка Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Установка зависимостей
run: |
pip install --upgrade pip==23.1
pip install requests gdown mega.py gradio
- name: Google Drive
run: |
python3 -m tabs.install "https://drive.google.com/file/d/1lVQuCq5sQXRnAb_Z6m0nKb9305aePowy/view?usp=sharing" "test1"
- name: HuggingFace
run: |
python3 -m tabs.install "https://huggingface.co/Politrees/Victor_Tsoi/resolve/main/Victor_Tsoi.zip?download=true" "test2"
- name: Pixeldrain
run: |
python3 -m tabs.install "https://pixeldrain.com/u/mN7BsdZb" "test3"
- name: Mega
run: |
python3 -m tabs.install "https://mega.nz/file/vgMBFB5I#-ZUtYEvV-OImhRjs9b1UpFyE2lm-BuEbODD3N9b3sg4" "test4"
- name: Яндекс Диск
run: |
python3 -m tabs.install "https://disk.yandex.ru/d/njvq8NEQgS2OhQ" "test5"