ci: refresh workflow (re-run pipelines)
All checks were successful
CI / skip-ci-check (pull_request) Successful in 11s
CI / secret-scan (pull_request) Successful in 9s
CI / python-ci (pull_request) Successful in 31s

This commit is contained in:
ilia 2026-05-29 20:29:46 -05:00
parent eb4207214e
commit ddf1ae9f19

View File

@ -1,5 +1,5 @@
--- ---
# ci-sync: 2026-05-30T01:27:28Z # ci-sync: 2026-05-30T01:29:53Z
# Homelab CI — Python lane (git-ci-01) + secret scan (git-ci-02) # Homelab CI — Python lane (git-ci-01) + secret scan (git-ci-02)
# Skip: @skipci in branch name or commit message # Skip: @skipci in branch name or commit message
name: CI name: CI
@ -34,16 +34,19 @@ jobs:
if: needs.skip-ci-check.outputs.should-skip != '1' if: needs.skip-ci-check.outputs.should-skip != '1'
runs-on: [homelab, self-hosted, linux, python] runs-on: [homelab, self-hosted, linux, python]
container: container:
image: python:3.12-bookworm # node image: actions/checkout@v4 needs Node; install python3 in-job
image: node:20-bookworm
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Python tooling - name: Install Python tooling
run: | run: |
python3 -m pip install --upgrade pip apt-get update -qq
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3 python3-pip python3-venv
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi python3 -m pip install --upgrade pip --break-system-packages
pip install bandit pip-audit ruff if [ -f requirements.txt ]; then pip install -r requirements.txt --break-system-packages; fi
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt --break-system-packages; fi
pip install bandit pip-audit ruff --break-system-packages
- name: Ruff lint - name: Ruff lint
run: ruff check . || true run: ruff check . || true
@ -57,7 +60,7 @@ jobs:
- name: Pytest - name: Pytest
run: | run: |
if [ -d tests ] || ls test_*.py *_test.py 2>/dev/null; then if [ -d tests ] || ls test_*.py *_test.py 2>/dev/null; then
pip install pytest pip install pytest --break-system-packages
pytest -q || true pytest -q || true
else else
echo "No tests found — skip" echo "No tests found — skip"