Skip to content

Commit 39bac96

Browse files
author
jpmorard
committed
Simplify agi-gui coverage workflow env
1 parent 6209cbc commit 39bac96

1 file changed

Lines changed: 23 additions & 49 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 23 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -265,55 +265,29 @@ jobs:
265265
HEARTBEAT_PID=$!
266266
trap 'kill "$HEARTBEAT_PID" 2>/dev/null || true' EXIT
267267
rm -f .coverage.agi-gui coverage-agi-gui.xml
268-
export PYTHONPATH="src"
269-
timeout 12m bash -lc '
270-
COVERAGE_FILE=.coverage.agi-gui uv run --no-project \
271-
--with-editable ./src/agilab/core/agi-env \
272-
--with-editable ./src/agilab/core/agi-node \
273-
--with-editable ./src/agilab/core/agi-cluster \
274-
--with-editable ./src/agilab/core/agi-core \
275-
--with pytest \
276-
--with pytest-cov \
277-
--with pytest-asyncio \
278-
--with streamlit \
279-
--with streamlit-modal \
280-
--with streamlit_code_editor \
281-
--with mlflow \
282-
--with openai \
283-
--with watchdog \
284-
--with pathspec \
285-
--with py7zr \
286-
--with astor \
287-
--with networkx \
288-
--with plotly \
289-
--with tomlkit \
290-
--with tomli_w \
291-
--with parso \
292-
--with toml \
293-
--with packaging \
294-
python -m pytest -q --maxfail=1 --disable-warnings -o addopts="" \
295-
-m "not integration" \
296-
--cov=agilab --cov-report=xml:coverage-agi-gui.xml \
297-
--junitxml=test-results/junit.xml \
298-
--ignore=src/agilab/test/test_model_returns_code.py \
299-
src/agilab/test \
300-
test/test_orchestrate_cluster.py \
301-
test/test_orchestrate_distribution.py \
302-
test/test_orchestrate_execute.py \
303-
test/test_orchestrate_page_helpers.py \
304-
test/test_orchestrate_services.py \
305-
test/test_orchestrate_support.py \
306-
test/test_pipeline_ai.py \
307-
test/test_pipeline_editor.py \
308-
test/test_pipeline_lab.py \
309-
test/test_pipeline_openai.py \
310-
test/test_pipeline_runtime.py \
311-
test/test_pipeline_service_guard.py \
312-
test/test_pipeline_sidebar.py \
313-
test/test_pipeline_steps.py \
314-
test/test_pipeline_views.py \
315-
test/test_ui_pages.py
316-
'
268+
timeout 12m uv --preview-features extra-build-dependencies run --group dev \
269+
python -m pytest -q --maxfail=1 --disable-warnings -o addopts='' \
270+
-m "not integration" \
271+
--cov=agilab --cov-report=xml:coverage-agi-gui.xml \
272+
--junitxml=test-results/junit.xml \
273+
--ignore=src/agilab/test/test_model_returns_code.py \
274+
src/agilab/test \
275+
test/test_orchestrate_cluster.py \
276+
test/test_orchestrate_distribution.py \
277+
test/test_orchestrate_execute.py \
278+
test/test_orchestrate_page_helpers.py \
279+
test/test_orchestrate_services.py \
280+
test/test_orchestrate_support.py \
281+
test/test_pipeline_ai.py \
282+
test/test_pipeline_editor.py \
283+
test/test_pipeline_lab.py \
284+
test/test_pipeline_openai.py \
285+
test/test_pipeline_runtime.py \
286+
test/test_pipeline_service_guard.py \
287+
test/test_pipeline_sidebar.py \
288+
test/test_pipeline_steps.py \
289+
test/test_pipeline_views.py \
290+
test/test_ui_pages.py
317291
kill "$HEARTBEAT_PID" 2>/dev/null || true
318292
trap - EXIT
319293

0 commit comments

Comments
 (0)