From b125c95ac81d24f2f1db723f60c34ce503a2674d Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 12:04:11 +0000 Subject: [PATCH] Try CI with docker container --- .gitea/workflows/ci.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 6ee7622..6e6a124 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,21 +7,12 @@ on: jobs: test: runs-on: ubuntu-latest + container: python:3.11-slim steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.11' - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install pytest pytest-asyncio + pip install pytest pytest-asyncio click cryptography pygments rich zeroconf pip install -e . - - name: List installed packages - run: pip list - name: Run tests - run: | - echo "Python version:" - python --version - echo "Running tests..." - pytest tests/ -v --tb=short \ No newline at end of file + run: pytest tests/ -v \ No newline at end of file