From 203b42338f15d716dc0d9083f4c26f949f944bf0 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 20:46:00 +0000 Subject: [PATCH] fix: CI with git clone and apt-get --- .gitea/workflows/ci.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d3a34e3..07aea74 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,11 +4,16 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - run: | - pip install -e . - pip install pytest - pytest confsync/tests/ -v + - name: Checkout code + run: | + git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git . + - name: Setup Python + run: | + apt-get update -qq + apt-get install -y -qq python3 python3-pip git + - name: Install dependencies + run: | + pip install -q -e . + pip install -q pytest + - name: Run tests + run: pytest confsync/tests/ -v