@@ -19,23 +19,23 @@ prepare:
1919 --env-var UV_CACHE_DIR=$PWD/.codesphere-internal/.uv --env-var
2020 UV_PYTHON_CACHE_DIR=$PWD/.codesphere-internal/.uv-python
2121 - name : install frontend environment
22- command : cd frontend && { [ ! -d ".venv" ] && uv venv; uv sync; }
22+ command : . ./env && cd frontend && { [ ! -d ".venv" ] && uv venv; uv sync; }
2323 - name : install backend environment
24- command : cd backend && { [ ! -d ".venv" ] && uv venv; uv sync; }
24+ command : . ./env && cd backend && { [ ! -d ".venv" ] && uv venv; uv sync; }
2525test :
2626 steps :
2727 - name : test frontend
28- command : cd frontend && uv run pytest
28+ command : . ./env && cd frontend && uv run pytest
2929 - name : test backend
30- command : " cd backend && uv run pytest "
30+ command : " . ./env && cd backend && uv run pytest "
3131 - name : security check frontend
32- command : ' cd frontend && uv run bandit -r . -c pyproject.toml --format=custom
33- --msg-template "{abspath}:{line}: {test_id}[{severity}]: {msg}" -o
34- bandit-results.txt'
32+ command : ' . ./env && cd frontend && uv run bandit -r . -c pyproject.toml
33+ --format=custom -- msg-template "{abspath}:{line}: {test_id}[{severity}]:
34+ {msg}" -o bandit-results.txt'
3535 - name : security check backend
36- command : ' cd backend && uv run bandit -r . -c pyproject.toml --format=custom
37- --msg-template "{abspath}:{line}: {test_id}[{severity}]: {msg}" -o
38- bandit-results.txt'
36+ command : ' . ./env && cd backend && uv run bandit -r . -c pyproject.toml
37+ --format=custom -- msg-template "{abspath}:{line}: {test_id}[{severity}]:
38+ {msg}" -o bandit-results.txt'
3939run :
4040 frontend :
4141 steps :
0 commit comments