fix: add timeouts to apt-get commands
Some checks failed
CI / test (push) Failing after 9s

This commit is contained in:
2026-03-22 17:14:02 +00:00
parent 40f934d542
commit 8ab42fad20

View File

@@ -6,13 +6,16 @@ on:
jobs:
test:
runs-on: gitea
runs-on: ubuntu-latest
steps:
- name: Check environment
- name: Install Python with timeout
run: |
whoami
pwd
python3 --version || echo "Python not found"
timeout 120 apt-get update || echo "apt-get update timed out or failed"
timeout 120 apt-get install -y python3 python3-pip || echo "apt-get install timed out or failed"
- name: Verify Python
run: |
python3 --version
pip3 --version
- name: Install deps
run: |
pip3 install -e ".[dev]"