From 4991d2b32fb95c16dfed5f765b851abaf530d814 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 20:30:59 +0000 Subject: [PATCH] fix: CI without checkout step --- .gitea/workflows/ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4912bb1..e98ed98 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,15 +6,12 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - name: Install run: | - pip install -e . - pip install pytest - - name: Test + apt-get update && apt-get install -y python3 python3-pip + - name: Install dependencies + run: | + pip3 install -e . + pip3 install pytest + - name: Run tests run: pytest confsync/tests/ -v