From e1868407628e9c0f8f516f0fec963c53c92ebe58 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 12:34:01 +0000 Subject: [PATCH] CI with pip install and pytest --- .gitea/workflows/ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a78db4a..c68d54b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,10 +8,16 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Echo test - run: echo "Hello World" - - name: Show environment + - name: Show directory run: | echo "PWD: $(pwd)" - echo "Files: $(ls -la)" - python3 --version || echo "Python not found" + ls -la + - name: Install Python and pip + run: | + python3 --version + pip3 --version + - name: Install dependencies + run: | + pip3 install -e . pytest pytest-asyncio + - name: Run tests + run: pytest tests/ -v --tb=short \ No newline at end of file