From 30365ed9eb89b65d19d96ae6ee4ad7bc5cdacf7e Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 12:39:24 +0000 Subject: [PATCH] CI with docker container --- .gitea/workflows/ci.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e07d496..2796870 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,20 +1,13 @@ name: CI -on: - push: - branches: [main] +on: push jobs: test: runs-on: ubuntu-latest + container: python:3.11-slim steps: - - name: Debug - run: | - set -x - whoami - pwd - ls -la /app - name: Install - run: pip3 install -e /app && pip3 install pytest pytest-asyncio + run: pip install -e . pytest pytest-asyncio - name: Run tests - run: pytest /app/tests/ -v \ No newline at end of file + run: pytest tests/ -v \ No newline at end of file