fix: CI with manual git clone
Some checks failed
CI / test (push) Failing after 13s

This commit is contained in:
2026-02-04 20:34:13 +00:00
parent 9027548b1a
commit 3574964509

View File

@@ -4,21 +4,16 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Debug environment - name: Clone repository
run: | run: |
echo "=== Debug Info ===" git clone https://git::${{ secrets.GITEA_TOKEN }}@7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/confsync
echo "PWD: $(pwd)" cp -r /tmp/confsync/* .
echo "Contents: $(ls -la)" - name: Setup Python
echo "Python: $(which python3 || echo 'not found')"
- name: Install Python
run: | run: |
if ! command -v python3 &> /dev/null; then apt-get update && apt-get install -y python3 python3-pip
apt-get update && apt-get install -y python3 python3-pip - name: Install dependencies
fi
python3 --version
pip3 --version
- name: Install and test
run: | run: |
pip3 install -e . pip install -e .
pip3 install pytest pip install pytest
pytest -v || echo "Tests may have failed but CI continues" - name: Run tests
run: pytest -v