Files
git-workflows/.gitea/workflows/runner-probe.yml
T
Tirsvad 856ac24f71
Runner probe / probe (push) Successful in 10s
Throwaway: show the pip error (issue 16)
2026-10-10 13:49:22 +08:00

22 lines
837 B
YAML

name: Runner probe
on:
push:
branches: [ probe-runner-tools ]
jobs:
probe:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Install the quality tools from PyPI into a virtual environment
run: |
python3 -m venv /tmp/qc; echo "PROBE venv exit: $?"
ls /tmp/qc/bin 2>&1 | head -n 5 | sed 's/^/PROBE bin: /'
/tmp/qc/bin/pip install ruff==0.6.9 mypy==1.11.2 shellcheck-py==0.10.0.1 shfmt-py==3.9.0.1 > /tmp/pip.log 2>&1 || true
echo "PROBE pip finished"
tail -n 8 /tmp/pip.log | sed 's/^/PROBE piplog: /'
echo "PROBE net: $(curl -sS -o /dev/null -w '%{http_code}' https://pypi.org/simple/ruff/ 2>&1)"
echo "PROBE proxy: HTTPS_PROXY=${HTTPS_PROXY:-unset} PIP_INDEX_URL=${PIP_INDEX_URL:-unset}"