mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
Use the step summary markdown file
This commit is contained in:
parent
294f07d4c4
commit
5dfe52452e
25
.github/workflows/ci.yaml
vendored
25
.github/workflows/ci.yaml
vendored
@ -108,10 +108,29 @@ jobs:
|
|||||||
cp -v -a -t "${Python3_ROOT_DIR}"/lib/python3.*/site-packages/yt_dlp/ patches/yt_dlp/*
|
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
|
cd tubesync && python3 -B manage.py collectstatic --no-input --link
|
||||||
- name: Check with ruff
|
- name: Check with ruff
|
||||||
continue-on-error: true
|
continue-on-error: false
|
||||||
run: |
|
run: |
|
||||||
cd tubesync && uvx ruff check --output-format github \
|
cd tubesync
|
||||||
--target-version py310 --isolated \
|
# output formats:
|
||||||
|
# "full" | "concise" | "grouped" |
|
||||||
|
# "json" | "junit" | "github" | "gitlab" |
|
||||||
|
# "pylint" | "azure"
|
||||||
|
{
|
||||||
|
echo '# Output from `ruff check` for `tubesync`'
|
||||||
|
echo ''
|
||||||
|
echo '## pylint format'
|
||||||
|
echo ''
|
||||||
|
uvx --no-config --no-managed-python --no-progress --isolated \
|
||||||
|
ruff check --exit-zero \
|
||||||
|
--target-version py310 \
|
||||||
|
--output-format pylint \
|
||||||
|
--extend-select RUF100 \
|
||||||
|
--ignore E701,E722,E731
|
||||||
|
} >> "${GITHUB_STEP_SUMMARY}"
|
||||||
|
uvx --no-config --no-managed-python --no-progress --isolated \
|
||||||
|
ruff check --exit-zero \
|
||||||
|
--target-version py310 \
|
||||||
|
--output-format github \
|
||||||
--ignore E701,E722,E731
|
--ignore E701,E722,E731
|
||||||
- name: Run Django tests
|
- name: Run Django tests
|
||||||
run: cd tubesync && python3 -B -W default manage.py test --verbosity=2
|
run: cd tubesync && python3 -B -W default manage.py test --verbosity=2
|
||||||
|
Loading…
Reference in New Issue
Block a user