mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 05:26:37 +00:00
Add a step for ruff check
This commit is contained in:
parent
6f57a2e1bf
commit
b93b4e1d47
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -94,7 +94,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pipenv
|
||||
pip install pipenv uv
|
||||
PIPENV_VERBOSITY=64 pipenv install --system --skip-lock
|
||||
- name: Set up Django environment
|
||||
run: |
|
||||
@ -102,6 +102,12 @@ jobs:
|
||||
cp -v -a -t "${Python3_ROOT_DIR}"/lib/python3.*/site-packages/background_task/ patches/background_task/*
|
||||
cp -v -a -t "${Python3_ROOT_DIR}"/lib/python3.*/site-packages/yt_dlp/ patches/yt_dlp/*
|
||||
cd tubesync && python3 -B manage.py collectstatic --no-input --link
|
||||
- name: Check with ruff
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cd tubesync && uvx ruff check --output-format github \
|
||||
--target-version py310 --isolated \
|
||||
--ignore E701,E722,E731
|
||||
- name: Run Django tests
|
||||
run: cd tubesync && python3 -B -W default manage.py test --verbosity=2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user