Atualizar .github/workflows/teste-shell.yml
This commit is contained in:
@@ -19,11 +19,24 @@ jobs:
|
||||
|
||||
- name: 📦 Verificar ferramentas disponíveis
|
||||
run: |
|
||||
echo "=== Ferramentas ==="
|
||||
bash --version
|
||||
python3 --version
|
||||
curl --version | head -1
|
||||
echo "=== Sistema base ==="
|
||||
cat /etc/os-release
|
||||
echo ""
|
||||
echo "=== Ferramentas disponíveis ==="
|
||||
which bash && bash --version | head -1
|
||||
which curl && curl --version | head -1
|
||||
which wget && wget --version 2>&1 | head -1 || echo "wget: não instalado"
|
||||
which git && git --version
|
||||
|
||||
- name: 📦 Instalar python3 se necessário
|
||||
run: |
|
||||
# Alpine usa apk, Ubuntu/Debian usa apt
|
||||
if command -v apk &>/dev/null; then
|
||||
apk add --no-cache python3
|
||||
elif command -v apt-get &>/dev/null; then
|
||||
apt-get update -qq && apt-get install -y -qq python3
|
||||
fi
|
||||
python3 --version
|
||||
- name: 🌐 Testar conectividade externa
|
||||
run: |
|
||||
echo "=== Ping externo ==="
|
||||
|
||||
Reference in New Issue
Block a user