diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4d4a1c5..d09ed6c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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]"