From 82ae30b9161962e0c51e93a6f68ca6a1e799cffe Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 13:07:52 +0000 Subject: [PATCH] Simplify CI workflow to use python container directly --- .gitea/workflows/ci.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b274b0c..c052824 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,14 +9,7 @@ on: jobs: test: runs-on: ubuntu-latest + container: python:3.11-slim steps: - - name: Set up Python - run: | - apt-get update - apt-get install -y python3 python3-pip python3-venv - python3 --version - pip3 --version - name: Install package - run: pip3 install -e . pytest pytest-asyncio - - name: Run tests - run: python3 -m pytest tests/ -v \ No newline at end of file + run: pip install -e . pytest pytest-asyncio && python -m pytest tests/ -v \ No newline at end of file