-
-
Notifications
You must be signed in to change notification settings - Fork 91
54 lines (45 loc) · 1.25 KB
/
e2e-test.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
54
name: e2e Test
on:
push:
branches: [main]
pull_request:
merge_group:
workflow_dispatch:
jobs:
test-e2e:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
architecture: ["x64"]
name: Python ${{ matrix.python-version }} on ${{ matrix.architecture }} e2e test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: Install tools
run: |
sudo apt update
sudo apt install ffmpeg
- name: Install just
uses: extractions/setup-just@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
just ci-install
- name: e2e without subprocess
run: |
uv run yutto -v
uv run yutto -h
uv run yutto https://www.bilibili.com/video/BV1AZ4y147Yg -w -d __test_files__
rm -rf __test_files__
- name: e2e test
run: |
just ci-e2e-test