From 1f2f8cb0ad5cf8874e54cc0934098f51b28836e3 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 21:05:10 +0000 Subject: [PATCH] Use PYTHONPATH to run tests --- .gitea/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ebb61c7..e73499d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,10 +10,9 @@ jobs: steps: - run: whoami - run: python3 --version - - name: Install package dependencies - run: | - pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit - - name: Install confgen in dev mode - run: pip install -e /app + - name: Install dependencies + run: pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli + - name: Set PYTHONPATH + run: export PYTHONPATH=/app/src:$PYTHONPATH - name: Run tests run: pytest /app/tests/ -v --tb=short