fix: CI clone to tmp and test
Some checks failed
CI / test (push) Failing after 30s

This commit is contained in:
2026-02-04 20:49:55 +00:00
parent 7c80482f49
commit 65a9b429a0

View File

@@ -4,18 +4,18 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Clone
run: | run: |
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git . git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/confsync
pwd && ls -la ls /tmp/confsync
- name: Setup Python - name: Setup
run: | run: |
apt-get update -qq apt-get update -qq
apt-get install -y -qq python3 python3-pip git apt-get install -y -qq python3 python3-pip git < /dev/null
python3 --version && pip3 --version - name: Install
- name: Install package
run: | run: |
pip3 install -e . 2>&1 | tail -10 pip3 install -e /tmp/confsync pytest
- name: Verify installation - name: Test
run: | run: |
python3 -c "import confsync; print('Import successful')" ls /tmp/confsync/confsync/tests/
pytest /tmp/confsync/confsync/tests/ -v