From 65a9b429a0bf9073dde22a36d49ddfa34443f8e1 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 20:49:55 +0000 Subject: [PATCH] fix: CI clone to tmp and test --- .gitea/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 61a199b..4945478 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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