This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
⬆️ deps: bump ruff from 0.0.292 to 0.1.0 (#236) #421
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: e2e Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
test-crwaler: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
name: e2e test - Python ${{ matrix.python-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install just | |
uses: extractions/setup-just@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install tools | |
run: | | |
sudo apt update | |
sudo apt install ffmpeg | |
- name: Initialize venv and install packages | |
run: | | |
just create-venv | |
just install | |
- name: e2e without subprocess | |
run: | | |
just run -v | |
just run -h | |
just run https://www.bilibili.com/video/BV1AZ4y147Yg -w -y | |
just clean | |
- name: e2e test | |
run: | | |
just ci-e2e-test |