Skip to content

Commit 1afae32

Browse files
committed
Split starting and waiting for SUT, from running TCK
1 parent 4b3e1cf commit 1afae32

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/run-tck.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
env:
1313
# Tag of the TCK
1414
TCK_VERSION: 0.2.3
15-
# Tells astral-sh/setup-uv@v5 to not need a venv, and instead use system
15+
# Tells uv to not need a venv, and instead use system
1616
UV_SYSTEM_PYTHON: 1
1717

1818
# Only run the latest job
@@ -43,18 +43,19 @@ jobs:
4343
- name: Set up Python
4444
uses: actions/setup-python@v5
4545
with:
46-
python-version: '3.11'
47-
- name: Install uv
46+
python-version-file: "tck/a2a-tck/pyproject.toml"
47+
- name: Install uv and Python dependencies
4848
run: |
4949
pip install uv
5050
uv pip install -e .
5151
working-directory: tck/a2a-tck
5252
- name: Build with Maven, skipping tests
5353
run: mvn -B install -DskipTests
54-
- name: Start SUT & Run TCK
54+
- name: Start SUT
55+
run: mvn -B quarkus:dev &
56+
working-directory: tck
57+
- name: Wait for SUT to start
5558
run: |
56-
mvn -B quarkus:dev &
57-
5859
URL="http://localhost:9999/.well-known/agent.json"
5960
EXPECTED_STATUS=200
6061
TIMEOUT=120
@@ -87,7 +88,7 @@ jobs:
8788
sleep "$RETRY_INTERVAL"
8889
done
8990
90-
# Run TCK
91-
cd a2a-tck
91+
- name: Run TCK
92+
run: |
9293
./run_tck.py --sut-url http://localhost:9999 --category all --compliance-report report.json
93-
working-directory: tck
94+
working-directory: tck/a2a-tck

0 commit comments

Comments
 (0)