File tree Expand file tree Collapse file tree 4 files changed +20
-11
lines changed
tests/plugins/copilot/integration Expand file tree Collapse file tree 4 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,13 @@ jobs:
4848 enable-cache : true
4949
5050 - name : Install dependencies
51- run : uv sync --group docs
51+ run : ./Taskfile docs-install
5252
5353 - name : Setup Pages
5454 uses : actions/configure-pages@v4
5555
5656 - name : Build documentation
57- run : |
58- uv run mkdocs build --clean --verbose
57+ run : ./Taskfile docs-build
5958 env :
6059 ENABLE_MKDOCSTRINGS : true
6160
@@ -93,11 +92,10 @@ jobs:
9392 enable-cache : true
9493
9594 - name : Install dependencies
96- run : uv sync --group docs
95+ run : ./Taskfile docs-install
9796
9897 - name : Check documentation links
99- run : |
100- uv run mkdocs build --clean --verbose
98+ run : ./Taskfile docs-build
10199 env :
102100 ENABLE_MKDOCSTRINGS : true
103101
@@ -106,7 +104,7 @@ jobs:
106104 # Install linkchecker if needed
107105 pip install linkchecker
108106 # Start a local server
109- uv run mkdocs serve --dev-addr 127.0.0.1:8000 &
107+ ./Taskfile docs-serve &
110108 SERVER_PID=$!
111109 sleep 5
112110 # Check for broken links
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ jobs:
3030 run : uv python install 3.12
3131
3232 - name : Install dependencies
33- run : make dev_install
33+ run : ./Taskfile dev-install
3434
3535 - name : Run tests
36- run : make ci
36+ run : ./Taskfile ci
3737 continue-on-error : ${{ github.event.inputs.force_release == 'true' }}
3838
3939 build-package :
@@ -55,10 +55,10 @@ jobs:
5555 run : uv python install 3.12
5656
5757 - name : Install dependencies
58- run : make install
58+ run : ./Taskfile install
5959
6060 - name : Build package
61- run : make build
61+ run : ./Taskfile build
6262
6363 - name : Upload package artifacts
6464 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 11"""End-to-end integration tests for Copilot plugin."""
22
33import json
4+ import os
45from collections .abc import AsyncGenerator
56from contextlib import AsyncExitStack
67from datetime import datetime
2223)
2324
2425
26+ # Skip in CI - requires local credentials
27+ _SKIP_IN_CI = os .getenv ("CI" ) == "true" or os .getenv ("GITHUB_ACTIONS" ) == "true"
28+
29+
2530@pytest .mark .integration
31+ @pytest .mark .skipif (_SKIP_IN_CI , reason = "Requires local credentials" )
2632class TestCopilotEndToEnd :
2733 """End-to-end integration tests for Copilot plugin."""
2834
Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5+ import os
56from collections .abc import AsyncGenerator
67from typing import Any
78
2122from tests .helpers .provider_apps import PROVIDER_APP_BUILDERS , PROVIDER_FIXTURES
2223
2324
25+ # Skip in CI - requires local credentials
26+ _SKIP_IN_CI = os .getenv ("CI" ) == "true" or os .getenv ("GITHUB_ACTIONS" ) == "true"
27+
2428pytestmark = [
2529 pytest .mark .integration ,
2630 pytest .mark .e2e ,
2731 pytest .mark .asyncio (loop_scope = "module" ),
32+ pytest .mark .skipif (_SKIP_IN_CI , reason = "Requires local credentials" ),
2833]
2934
3035
You can’t perform that action at this time.
0 commit comments