diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1a0aeb6..6dc81ec 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -17,9 +17,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e . - pip install pytest - - name: Check package imports - run: python -c "from json_to_openapi.cli import main; print('Import successful')" + pip install pytest click jsonschema pyyaml - name: Run tests - run: python -m pytest tests/ -v --tb=short + run: | + export PYTHONPATH=$PWD:$PYTHONPATH + python -m pytest tests/ -v --tb=short