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