From f91dce7143459da1d9723ee83c830bc3d097ea19 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 12:29:23 +0000 Subject: [PATCH] Use minimal CI steps without external actions --- .gitea/workflows/ci.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4d3c435..47421f1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,15 +7,17 @@ on: jobs: test: runs-on: ubuntu-latest - container: - image: python:3.11-slim steps: - - name: Checkout + - name: Checkout code run: | - apt-get update - apt-get install -y git - git clone --depth 1 https://github.com/7000pctAUTO/snippet-manager.git . - - name: Install - run: pip install -e . pytest pytest-asyncio + echo "Checking out code..." + ls -la + - name: Setup Python + run: | + python3 --version + pip3 --version + - name: Install dependencies + run: | + pip3 install -e . pytest pytest-asyncio - name: Run tests - run: pytest tests/ -v + run: pytest tests/ -v --tb=short