From 7e4938bcae28abdd17ebaf0cb99a61a4c53ed2bf Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 20:39:35 +0000 Subject: [PATCH] fix: use Gitea native syntax for CI --- .gitea/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1812ceb..05eb1e8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,16 +7,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 + run: | + git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git $HOME/confsync + cp -r $HOME/confsync/. . - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' + run: | + apt-get update + apt-get install -y --no-install-recommends python3 python3-pip git - name: Install run: | - pip install -e . - pip install pytest + pip install --no-cache-dir -e . + pip install --no-cache-dir pytest - name: Test run: pytest confsync/tests/ -v