Skip to content

Commit 6531e31

Browse files
committed
fix: Add grpc to TCK configuration
1 parent e7102d2 commit 6531e31

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/run-tck.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
# Tells uv to not need a venv, and instead use system
1212
UV_SYSTEM_PYTHON: 1
1313
SUT_JSONRPC_URL: http://localhost:8080
14+
SUT_GRPC_URL: http://localhost:9555
1415

1516

1617
# Only run the latest job
@@ -68,7 +69,7 @@ jobs:
6869
mvn wildfly:start -B -Dversion.sdk=${SDK_VERSION} -pl tck -Dstartup-timeout=120
6970
- name: Run TCK
7071
run: |
71-
./run_tck.py --sut-url ${SUT_JSONRPC_URL} --category all --transports jsonrpc --compliance-report report.json
72+
./run_tck.py --sut-url ${SUT_JSONRPC_URL} --category all --transports jsonrpc,grpc --compliance-report report.json
7273
working-directory: a2a-tck
7374
- name: Start the WildFly SUT
7475
run: |

tck/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,26 @@
4141
</exclusion>
4242
</exclusions>
4343
</dependency>
44+
<dependency>
45+
<groupId>${project.groupId}</groupId>
46+
<artifactId>a2a-java-sdk-server-jakarta-grpc</artifactId>
47+
<version>${project.version}</version>
48+
<exclusions>
49+
<!--
50+
Exclude these transitive dependencies since we are deploying the TCK in WildFly,
51+
where the server provides these dependencies.
52+
Other servlet containers/application servers may provide other things.
53+
-->
54+
<exclusion>
55+
<groupId>com.fasterxml.jackson.core</groupId>
56+
<artifactId>*</artifactId>
57+
</exclusion>
58+
<exclusion>
59+
<groupId>com.fasterxml.jackson.datatype</groupId>
60+
<artifactId>*</artifactId>
61+
</exclusion>
62+
</exclusions>
63+
</dependency>
4464
<dependency>
4565
<groupId>jakarta.ws.rs</groupId>
4666
<artifactId>jakarta.ws.rs-api</artifactId>

0 commit comments

Comments
 (0)