ci: temporary runner-capability probe (node:20-bullseye image lacks python3)
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
name: Runner Probe
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
jobs:
|
||||||
|
probe:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: capabilities
|
||||||
|
run: |
|
||||||
|
echo "=== PATH ==="; echo "$PATH"
|
||||||
|
echo "=== interpreters ==="
|
||||||
|
for c in python python3 node npx bash sh git curl wget apt apk pip pip3; do command -v $c >/dev/null 2>&1 && echo "HAVE $c: $(command -v $c)"; done
|
||||||
|
echo "=== os ==="; cat /etc/os-release 2>/dev/null | head -4
|
||||||
|
echo "=== docker visible? ==="; command -v docker && timeout 10 docker images 2>&1 | head -10
|
||||||
|
echo "=== internet? ==="; timeout 8 curl -sI https://github.com >/dev/null 2>&1 && echo ONLINE || echo OFFLINE
|
||||||
|
exit 0
|
||||||
Reference in New Issue
Block a user